Open reald opened 5 years ago
That would only affect street name index generation, and the surveillance overlay, right?
So far I did not really think about this, as all the publicly available Mapnik stylesheets for OSM data rely on SRID-3857 database imports anyway, but it shouldn't be too hard to convert that few queries to using the actual SRID of the queried table instead, by using the Find_SRID() function:
http://postgis.refractions.net/documentation/manual-1.5/Find_SRID.html
Ocitysmap seems to expect the database content in Pseudo-Mercator (SRID 3857, option -m). This is the default setting of osm2pgsql. There is also support for Latitude/Longitude (SRID 4326, option -l) and WGS84 Mercator (SRID 3395, option -M). For better support and flexibility I propose to make the used database SRID in ocitysmap configureable by command line switch and/or config file.