Last active
August 29, 2015 14:02
-
-
Save jsanz/05187f5e850144f7647e to your computer and use it in GitHub Desktop.
ogr2ogr 23030->25830
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Command to use the NTV2 grid file correctly to convert | |
# from 23030 (ED50) to 25830 (ETRS89), both in UTM30N | |
# hint: define all the f$cking SRS params | |
ogr2ogr \ | |
-t_srs "+proj=utm +zone=30 +ellps=GRS80 +units=m +nadgrids=/path/to/sped2et.gsb" \ | |
-s_srs "epsg:23030" \ | |
-a_srs "epsg:25830" \ | |
-f "ESRI Shapefile" output_shp_25830.shp input.shp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment