When generating map from OSM data I get following errors: Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 764, in run self.__target(*self.__args, **self.__kwargs) File "./generate_tiles.py", line 116, in loop self.render_tile(tile_uri, x, y, z) File "./generate_tiles.py", line 98, in render_tile mapnik.render(self.m, im) RuntimeError: : ERROR: function asbinary(geometry) does not exist LINE 1: SELECT AsBinary("way") AS geom,"name","place" from ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. Full sql was: 'SELECT AsBinary("way") AS geom,"name","place" from (select way,place,name,ref from planet_osm_point where place in ('country','state') ) as placenames WHERE "way" && SetSRID('BOX3D(-20037508 -15028131.25709193,-5009377.08569731 5009377.08569731)'::box3d, 900913)' AFAIK PostGIS renamed AsBinary to ST_AsBinary. So we need to fix Mapnik or use Mapnik 2.2.x which already has this fix.
Mapnik 2.0.2 also has needed fixes for PostGIS 2.0 support.
We already have 2.2.0 in rawhide (I assume that is what you meant by 2.0.2) but because there are significant changes required to other packages (mainly agg) I am reluctant to try and push such a major update into the current release versions of Fedora.
No, by 2.0.2 I mean 2.0.2 :D I hope 2.0.2 does not require these significant changes as 2.2.0 does...
Well if 2.0.2 is enough to fix the postgis issue then I'll have a look at whether we can build that into F18/19 next week.
Yes, 2.0.2 should be enough.
I've done a scratch build of 2.0.2 at http://koji.fedoraproject.org/koji/taskinfo?taskID=5667816 if you'd like to check that it fixes your problem?
Works fine. Thank you!
mapnik-2.0.2-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mapnik-2.0.2-2.fc19
Package mapnik-2.0.2-2.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mapnik-2.0.2-2.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-13881/mapnik-2.0.2-2.fc19 then log in and leave karma (feedback).
mapnik-2.0.2-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.