[gdal-dev] transformation from WGS84 to Sphere
Jean-Claude REPETTO
jrepetto at free.fr
Thu Mar 4 02:08:04 EST 2010
agnes123 a écrit :
>
> i am trying to projection a shapefile from geodatic projection in WGS84
> datum to geodatic projection in sphere datum by using the utility "ogr2ogr
> ".
>
> I defined the original projection as:
> '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs'
>
> and the target projection as :
> '+proj=longlat +a=6370997 +b=6370997 +no_defs'
>
> but the result seems no change as compare with the one in WGS84 datum. Did i
> miss out something in the above projection definition or ogr2ogr does not
> support the datum transformation between WGS84 and sphere?
Hello,
The target parameters you have used define a spheroid, but not a datum.
Try to add the +towgs84=0,0,0,0,0,0,0 parameter.
Jean-Claude
More information about the gdal-dev
mailing list