[OSM-talk] lat and lon in the db
lawgon at thenilgiris.com
Wed Jul 27 12:04:30 BST 2011
On Wed, 2011-07-27 at 11:04 +0100, Jorge Gustavo wrote:
> As Tom already said, you probably used osm2pgsql and those
> are in the SRID EPSG:900913. You can/should confirm it by quering the
> geometry_columns table. osm2pgsql fills the table automatically.
> In PostGIS, you can change coordinates doing st_transform.
> Select astext(ST_transform(st_geometryfromtext('POINT(864071554
I would prefer to reload in ESPG 4326, but on doing:
./osm2pgsql -S ./default.style -E EPSG:4326 ./bang.osm
I get this error:
Projection code failed to initialise
More information about the talk