[Proj] Trouble georeferencing data stored in a spherical projection.

Hermann Peifer peifer at gmx.eu
Wed Mar 7 09:05:16 EST 2012


On 06/03/2012 14:38, Mikael Rittri wrote:
> Of course, the problem is already solved in Proj.4, as the FAQ says,
> since we can use
>
> +nadgrids=@null
>
> for the first convention, and
>

Just to add that the FAQ is a bit outdated in this respect as in more 
recent versions of PROJ, the so-called "strategic addition of 
+nadgrids=@null to the spherical projection definition" isn't needed 
anymore.

Hermann


$ echo 50 50 | cs2cs -v +proj=latlong +a=6378137 +to +proj=latlong 
+datum=WGS84

# ---- From Coordinate System ----
#Lat/long (Geodetic alias)
#
# +proj=latlong +a=6378137
# ---- To Coordinate System ----
#Lat/long (Geodetic alias)
#
# +proj=latlong +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0
50dE    50dN 0.000


$ echo 50 50 | cs2cs -v +proj=latlong +a=6378137 +towgs84=0,0,0 +to 
+proj=latlong +datum=WGS84

# ---- From Coordinate System ----
#Lat/long (Geodetic alias)
#
# +proj=latlong +a=6378137 +towgs84=0,0,0
# ---- To Coordinate System ----
#Lat/long (Geodetic alias)
#
# +proj=latlong +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0
50dE    50d11'20.459"N 12575.088


More information about the Proj mailing list