[OSM-dev] osm2pgsql - strange behaviour

Jon Burgess jburgess777 at googlemail.com
Fri Jun 22 17:11:16 BST 2007

On Fri, 2007-06-22 at 16:29 +0100, Nick Black wrote:
> So I should be able to change the SRID to 41001 and then reproject
> back to 4326 within pgsql i guess?

I'd guess so, or change/remove the reprojection in osm2pgsql so that you
don't have to reproject the data when you use it. That is the reason why
it currently uses mercator since this is closest to what Mapnik wants
when render the slippy map tiles.

As I mentioned before, if you want to keep the DB data in latlong you
can apply some minor changes like the attached patch.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: osm2pgsq-latlong.patch
Type: text/x-patch
Size: 1042 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070622/33789f30/attachment.bin>

More information about the dev mailing list