Hi Craig

Shape File is a format defined by ESRI. Therefore the .prj file is written
in ESRI "dialect", compatible with their software.
A naïve solution to your problem (to generate you shape files using GDAL
dialect of WKT1), could be that you just create the shape files without any
specific SRS, and then add yourself the .prj file generated with your
preferred tool.
See that those files may not be supported by every software.

Cheers

On Mon, 10 Jul 2023 at 08:42, Craig de Stigter <
[email protected]> wrote:

> Hi there
>
> We export data in a variety of coordinate systems and formats. Most
> formats work with most coordinate systems.
>
> However, the SHP driver always calls MorphToESRI() on its SRS objects
> before writing them as WKT to the PRJ files.
>
> I haven't been able to find information on why it does this. It means
> certain coordinate systems (geocentric, for instance) don't work with SHP
> and raise an exception.
>
> Could we add a creation option to customise this behaviour?
>
> --
> Regards,
> Craig
>
> Platform Engineer
> Koordinates
>
> +64 21 256 9488 <+64%2021%20256%209488> / koordinates.com / @koordinates
> <https://twitter.com/koordinates>
> _______________________________________________
> gdal-dev mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to