[PROJ] WGS84(Natural Earth data) to sphere

Javier Jimenez Shaw j1 at jimenezshaw.com
Thu Nov 10 07:11:29 PST 2022


Why do you want to convert the points to an sphere? GeoJSON is also defined
in WGS84
.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
Entre dos pensamientos racionales
hay infinitos pensamientos irracionales.



On Thu, 10 Nov 2022 at 11:24, Gonzo Bard <gonzo.bard at gmail.com> wrote:

> 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?
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20221110/2ae3e2f1/attachment.htm>


More information about the PROJ mailing list