[PROJ] WGS84(Natural Earth data) to sphere

Gonzo Bard gonzo.bard at gmail.com
Thu Nov 10 02:24:51 PST 2022


Greetings to all!

I use Natural Earth data:  https://www.naturalearthdata.com/downloads/
> All Natural Earth data use the Geographic coordinate system (projection),
WGS84 datum
That is, Natural Earth data are points on an ellipsoid.

To display geographical data on the map, I pre-convert it from Shapefile to
GeoJSON.
To do this, I use the ogr2ogr program (GDAL library).
In ogr2ogr there are conversion options:
from -s_srs https://gdal.org/programs/ogr2ogr.html#cmdoption-ogr2ogr-s_srs
to -t_srs https://gdal.org/programs/ogr2ogr.html#cmdoption-ogr2ogr-t_srs.

If I understood correctly, the GDAL project uses OSGeo / PROJ as a
projection library.

Please tell me what the values for -s_srs and -t_srs should be in order to
perform the conversion:
points located on an ellipsoid (WGS84 datum) ===> to points located on a
sphere?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20221110/93755aa6/attachment-0001.htm>


More information about the PROJ mailing list