Change SRID of a GIS Shape File from SRS projection EPSG 28356 GDA94 to 4326 WGS84 using ogr2ogr and proj4js

In this example we use ogr2ogr  to change SRID of a GIS Shape File from SRS Projection EPSG:28356 GDA94 to EPSG:4326 WGS84 using ogr2ogr and proj4js.

first, you need to find out the epsg projection 28356 – gda94 / mga zone 56 from below and copy into -s_srs in the ogr2ogr command.

https://spatialreference.org/ref/epsg/gda94-mga-zone-56/proj4/

Then run the below ogr2ogr command:

ogr2ogr -f “ESRI Shapefile” -s_srs “+proj=utm +zone=56 +south +ellps=GRS80 +towgs84=61.55,-10.87,-40.19,-39.4924,-32.7221,-32.8979,-9.99400000001316 +units=m +no_defs +type=crs
” -t_srs EPSG:4326 outputshape4326.shp inputshape28356.shp

Leave a Reply

Your email address will not be published. Required fields are marked *