[a little bit OT] calculating X,Y from latitude and longitude

Luca Bertoncello lucabert at lucabert.de
Tue Aug 19 03:38:57 PDT 2025


Am 19.08.2025 12:25, schrieb Greg Troxel:

Hi Greg,

> If you aren't using postgis, then your question is really off topic!

I know it and I already said it at the beginning...

> In that case, you should use gdal, which also uses proj.  And, it can
> read/write postgis.
> 
>   https://gdal.org/en/stable/
> 
> and in particular the ogr2ogr program is useful.

I need to do it in my program, and unfortunately there is no actual 
GDAL-library for PHP.
Any other idea where can I get some sample code which works?

Thanks
Luca Bertoncello
(lucabert at lucabert.de)


More information about the postgis-users mailing list