[postgis-devel] [PostGIS] #693: POLYGONM non-closed rings

strk strk at keybit.net
Fri Dec 10 02:51:50 PST 2010


On Fri, Dec 10, 2010 at 11:45:29AM +0100, strk wrote:
> On Fri, Dec 10, 2010 at 07:11:07AM -0000, PostGIS wrote:
> 
> >  Is this an intentional change that we are now checking higher dimensions
> >  for closedness?
> 
> Uhm... interesting question.
> Let's forget about the insane case of wanting a polygon with
> first and last point at different altitudes, but you might still
> want to encode the time it took for you to go around that block
> into an M value...

Just to complete the picture.. GEOS and JTS both return TRUE
from isClosed in the mixed-altitude case (comparison is 2d only).
And isClosed is the function used to validate LinearRing construction
where LinearRings are the component of polygons.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list