_______________________________________________ postgis-users mailing list postgi...@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Hello,
Editing the geometry_column table is half part of the job.
You have to update the geometries too.
UPDATE table SET the_geom = ST_SetSRID(the_geom, 4326).
Usually the SRID is -1 when you forget to set the srid when you import a shape file.
Hope this helps.
Nicolas.
De :
postgis-us...@postgis.refractions.net
[mailto:postgis-us...@postgis.refractions.net] De la part de
Marco Lechner - FOSSGIS e.V.
Envoyé : mardi 30 mars 2010 9:00
À : postgi...@postgis.refractions.net
Objet : Re: [postgis-users] How to change srid
Hello,
Editing the geometry_column table is half part of the job.
You have to update the geometries too.
UPDATE table SET the_geom = ST_SetSRID(the_geom, 4326).
Usually the SRID is -1 when you forget to set the srid when you import a shape file.
Hope this helps.
Nicolas.
De : postgis-us...@postgis.refractions.net [mailto:postgis-us...@postgis.refractions.net] De la part de Marco Lechner - FOSSGIS e.V.
Envoyé : mardi 30 mars 2010 9:00
À : postgi...@postgis.refractions.net
Objet : Re: [postgis-users] How to change srid
change the SRID in the geometry_columns table. There should be a corresponding recordset defining the SRID, geometry type, geometry column and so on of your table.
Yves