Re: [gdal-dev] Problem re-projecting shapefile by using ogr2ogr

2012-12-13 Thread deb
Thanks for your reply, Stefano >There is no PROJCS as your target SRS is a geographic one. Indeeed >you can see the GEOGCS label. I think I understand what you are saying. If specific SRS has WGS84 system then there is no projection. > EPSG:31227 is not only deprecated, it was removed from EP

Re: [gdal-dev] Problem re-projecting shapefile by using ogr2ogr

2012-12-13 Thread Stefano Iacovella
2012/12/13 deb : > Hi, > > I want to re-project shapefile from current projection (whatever that is) to > ESPG:4326. > My example layer (misc.shp) is in EPSG:31227: > > > ogrinfo -al -so misc.shp > INFO: Open of `misc.shp' > using driver `ESRI Shapefile' successful. > > Layer

Re: [gdal-dev] Problem re-projecting shapefile by using ogr2ogr

2012-12-12 Thread deb
You are right. What I wrote doesn't make any sense. It just solved my initial problem, which blinded me to think that I solved my more general problem, and that is how to deal with all these projections and reference systems. I'm very new to GIS New ground control point feature solved my proble

Re: [gdal-dev] Problem re-projecting shapefile by using ogr2ogr

2012-12-12 Thread deb
Hi again, sorry to say, but I just realized where I did wrong. ogr2ogr can't "re-project" - that is apply transformation - it can only set/change it. But not after this ticked was closed: http://trac.osgeo.org/gdal/ticket/4604 New -gcp switch can re-project - transform coordinates from one proj

[gdal-dev] Problem re-projecting shapefile by using ogr2ogr

2012-12-12 Thread deb
Hi, I want to re-project shapefile from current projection (whatever that is) to ESPG:4326. My example layer (misc.shp) is in EPSG:31227: > ogrinfo -al -so misc.shp INFO: Open of `misc.shp' using driver `ESRI Shapefile' successful. Layer name: misc Geometry: Line S