[mapserver-users] Converting datum using ogr2ogr

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu May 15 00:17:50 EDT 2008


Hi,

I don't think you need .prj file with your shapefiles and you should be able even to overrun it.
You need to use parameters -s_srs for source projection and -t_srs for target projection.

-Jukka Rahkonen-


-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users-bounces at lists.osgeo.org puolesta: NASUNO Isao
Lähetetty: to 15.5.2008 4:59
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users] Converting datum using ogr2ogr
 
Hello,

I am new in the mailing list.

I want to use ogr2ogr to convert projection/datum of shape files to
a same SRS before insert them into postgres for serving by MapServer.

However ogr2ogr seems convert only projection even the shape file has .prj file.
I checked out that GDAL has no default parameters to convert datum.

I need the conversion before inserting to postgres with some reasons,
I mean, with translation from shape to shape.

Any suggestion to convert datum using ogr2ogr or other stand-alone program ?
- The ogr2ogr is included in FWTools 2.1.0.
- OS is windows xp.

Thanks,

Isao NASUNO



_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list