[gdal-dev] ogr2ogr: cartesian geographic coordinates problem

Luca Sigfrido Percich sigfrido at tiscali.it
Wed Oct 12 06:10:58 EDT 2011


Yes, in that case you need to store in a file the WKT implementation of
the CS and add the -s_srs "file.prj" option.

Before doing this, have you tried -s_srs EPSG:4806 ?

http://spatialreference.org/ref/epsg/4806/

It uses international 1924 and not Rome 1940 spheroid, though.

Sig


Il giorno mer, 12/10/2011 alle 11.33 +0200, emmexx ha scritto:
> Il 10/11/2011 09:50 AM, Luca Sigfrido Percich scrisse:
> > Hi Max,
> > 
> > have you tried
> > 
> > ogr2ogr -t_srs EPSG:4326 -f "one of many formats" outputfile myshape.shp
> > 
> > As ogrinfo recognizes the source shape CS (I guess it has a .prj file
> > associated with it), you should only transform (-t_srs) into the
> > destination CS.
> 
> The problem is that the .prj file is incorrect or not complete, so
> ogr2ogr guess is wrong.
> I tried many intermediate conversions to no avail.
> 
> I will ask to create a new shape with the correct .prj and format.
> 
> Thank you
> 	maxx


_____________
PRIVACY
Le informazioni contenute in questo messaggio sono riservate e confidenziali. Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo dal Suo Sistema e a distruggere le varie copie o stampe, dandone gentilmente comunicazione all’indirizzo mail del mittente. Ogni utilizzo improprio e' contrario ai principi del D.lgs 196/03 e alla legislazione europea (Direttiva 2002/58/CE).

PRIVACY
Le informazioni contenute in questo messaggio sono riservate e confidenziali. Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo dal Suo Sistema e a distruggere le varie copie o stampe, dandone gentilmente comunicazione all’indirizzo mail del mittente. Ogni utilizzo improprio e' contrario ai principi del D.lgs 196/03 e alla legislazione europea (Direttiva 2002/58/CE).


More information about the gdal-dev mailing list