[postgis-devel] Geometry emptiness explained (was Re: GML for empty geometries ?)
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Thu Dec 15 01:47:05 PST 2011
On 14/12/11 20:02, Mateusz Ĺoskot wrote:
> On 14 December 2011 17:18, Paul Ramsey<pramsey at opengeo.org> wrote:
>> Based on 30 seconds of research I'd say go with NULL as the return for
>> empty geometries.
>> Yes, 'POINT EMPTY' (and all the other typological variants) is legal
>> in WKT. (But the concept of EMPTY appears completely ignored in all
>> discussions of WKB.) (Standards rule.)
>
> I dare to hijack the thread and ask, would it be a good idea
> if PostGIS documentation includes explanation of empty geometries
> according to popular specifications, at least those supported as input/output
> (GML, WKT, WKB, GeoJSON)?
> Q&A in one place, easily reachable for users, presumably in the FAQ.
We already thrashed out a lot of the logic here:
http://trac.osgeo.org/postgis/wiki/DevWikiEmptyGeometry so I'd suggest
adding the information to this page.
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
More information about the postgis-devel
mailing list