Last active
December 23, 2015 05:29
-
-
Save robbiet480/6586946 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/usr/local/bin/tilestache-seed.py", line 331, in <module> | |
mimetype, content = getTile(layer, coord, extension, options.ignore_cached) | |
File "/usr/local/lib/python2.7/dist-packages/TileStache/__init__.py", line 64, in getTile | |
status_code, headers, body = layer.getTileResponse(coord, extension, ignore_cached) | |
File "/usr/local/lib/python2.7/dist-packages/TileStache/Core.py", line 415, in getTileResponse | |
tile = self.render(coord, format) | |
File "/usr/local/lib/python2.7/dist-packages/TileStache/Core.py", line 496, in render | |
tile = provider.renderArea(width, height, srs, xmin, ymin, xmax, ymax, coord.zoom) | |
File "/usr/local/lib/python2.7/dist-packages/TileStache/Mapnik.py", line 123, in renderArea | |
mapnik.render(self.mapnik, img) | |
RuntimeError: : | |
ERROR: invalid input syntax for integer: "Provinsi" | |
Full sql was: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT ST_AsBinary("way") AS geom,"name","place" from | |
(select way,place,replace(replace(name,'(',''),')','') as name,ref | |
from planet_osm_point | |
where place in ('continent','country','county','state') | |
or (place in ('city','metropolis') and capital='yes' | |
and (admin_level is null or admin_level::integer < 4)) | |
) as placenames | |
WHERE "way" && ST_SetSRID('BOX3D(-3130860.678560781 -3130860.678560871,13149614.84995551 13149614.84995542)'::box3d, 900913) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment