[OSM-talk] Using osm2pgsql can I import into postgres in a projection other than Spherical Mercator (epsg:900913) like wgs84 (epsg:4326)

John Mitchell mitchelljj98 at gmail.com
Thu Oct 1 23:15:34 BST 2009


So for the osm2pgsql command I add -l to it.

Correct?

On Thu, Oct 1, 2009 at 6:01 PM, Emilie Laffray <emilie.laffray at gmail.com>wrote:

> To import into 4326, use the parameter -l
> Emilie Laffray
>
> 2009/10/1 John Mitchell <mitchelljj98 at gmail.com>
>
>> Hi,
>>
>> Your documentation states for using osm2pqsql (listed below) :
>>
>> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> *Before you can use osm2pqsql for the first time with the Spherical
>> Mercator projection (see below), you need to initialize configuration data
>> for this projection. Do this by running the .sql file included with
>> osm2pqsql: *
>>
>> *[Syntax on Windows]
>> $ psql -d gis -f c:\osm2pgsql\900913.sql
>> ------------------------------------------------------------------------------------------------------------------
>> *
>>
>>
>> Using osm2pgsql can I import into postgres in a projection other than
>> Spherical Mercator (epsg:900913) like wgs84 (epsg:4326)?
>>
>> Thanks,
>>
>> John
>>
>> --
>> John J. Mitchell
>>
>> _______________________________________________
>> talk mailing list
>> talk at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk
>>
>>
>


-- 
John J. Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20091001/55773c6d/attachment.html>


More information about the talk mailing list