[Proj] Projection conversion problem

Andre Joost andre+joost at nurfuerspam.de
Wed Jun 29 12:18:57 EST 2016


Am 28.06.2016 um 19:40 schrieb Hermann Peifer:

>
> With the given sample coordinates, this will give:
>
> $ echo 2.2945 48.858222 | cs2cs -v +proj=longlat +datum=WGS84 +no_defs
> +to +proj=eqc +lat_ts=0 +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84
> +units=m +no_defs
> # ---- From Coordinate System ----
> #Lat/long (Geodetic alias)
> #
> # +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0
> # ---- To Coordinate System ----
> #Equidistant Cylindrical (Plate Caree)
> #	Cyl, Sph
> #	lat_ts=[, lat_0=0]
> # +proj=eqc +lat_ts=0 +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m
> # +no_defs +ellps=WGS84 +towgs84=0,0,0
> 255422.57	5438872.39 0.00
>
> The expected result was: 27374451 582901293
>

I suggest to take a sphere, and scale with the units:

+proj=eqc +lat_ts=0 +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +R=6371000 
+to_meter=0.0093202511 +no_defs

which results to 27374451.23	582901292.36 0.00

HTH,
André Joost




More information about the Proj mailing list