[geos-devel] Dimension of EMPTY geoms

Markus Schaber schabi at logix-tt.com
Mon Dec 4 09:38:19 EST 2006

Hi, Mateusz,

Mateusz Loskot wrote:
> AFAIK OGC SFS does say nothing about how to report dimension of empty
> geometry.
> OGC SFS reserves values 0, 1, and 2 for dimensions of non-empty
> geometry, so I'd suggest to use negative value.

Don't confuse OGC dimension (geometrical dimensionality of the described
object, Points have 0, LineStrings have 1, and Polygons have 2) and
coordinate dimension (number of ordinates per vertex, which can be 2,3
or 4 in PostGIS).

Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.osgeo.org/pipermail/geos-devel/attachments/20061204/792bf261/signature.bin

More information about the geos-devel mailing list