I have a handful of zip archives containing original shapefiles with
different coordinate reference systems (e.g. SGER:3008 and SGER:3021).

I want to extract and convert them all to SGER:3006 and thought that
ogr2ogr would do the job, but I don't find intelligible instructions on
how to use the srs-parameters: -s_srs, -t_srs and -a_srs.

Do I have to know the coordinate reference system of each original shape
file to use ogr2ogr successfully? If so, how do I retrieve that information?

Or should I just override the original coordinate reference system like

ogr2ogr -f 'ESRI Shapefile' -s_srs EPSG:3006 -t_srs EPSG:3006 -a_srs
EPSG:3006 A.shp B.shp

Best regards.


Attachment: signature.asc
Description: OpenPGP digital signature

Qgis-user mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to