[postgis-devel] Cast GeoJSON to geometry like with WKT
Darafei "Komяpa" Praliaskouski
me at komzpa.net
Fri Mar 6 09:15:32 PST 2020
Please check what will "{" mean in non-hex WKB, EWKB and make sure it's
forbidden on serialization for them. Also JSON may probably have leading
whitespace, so check same for tab, space and magic unicode whitespace too?
I'm okay with it otherwise.
пт, 6 сак 2020, 19:32 карыстальнік Paul Ramsey <pramsey at cleverelephant.ca>
напісаў:
>
> > On Mar 6, 2020, at 2:55 AM, Felix Kunde <felix-kunde at gmx.de> wrote:
> >
> > So probably geometry(text) just needs to be able to understand GeoJSON,
> too.
>
> Correct, it would involve automagically detecting another text format.
> Probably not that expensive (if it doesn’t start with ‘{‘ it isn’t JSON)
> but… I’m not sure what the “but” is. Catastrophists, tell me why and how
> this would break things?
>
> P
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20200306/099dfaf4/attachment.html>
More information about the postgis-devel
mailing list