I want to use a shapefile of the Corine Land Cover. This covers all of Europe, but I am only interested in the area of Scandinavia.
How can I cut this file using free software (preferably a command line tool)? I tried ogr2ogr
C:\Program Files\GDAL>ogr2ogr.exe -f "ESRI Shapefile" c:\Users\Christoph\geo\corine\clc06_c312_coniferous\clc06_c312_dalarna.shp c:\Users\Christoph\geo\corine\clc06_c312_coniferous\clc06_c312.shp -clipdst 0 60 20 70
but without any usable result (just almost empty files).
Answer
See the example at the bottom of the ogr2ogr page, and note the "-t_srs EPSG:4326", which reprojects the file. When I looked at a Corine .prj file just now, it was in ETRS_1989_LAEA_L52_M10 projection, which uses meters not degrees. Once you reproject, I suspect your -clipdst settings will work.
No comments:
Post a Comment