[geos-devel] Re: Return value of GEOSGeom_getDimensions_r

strk strk at keybit.net
Fri Dec 11 08:20:57 EST 2009


On Fri, Dec 11, 2009 at 07:51:37AM -0500, Alex Trofast wrote:

> If this is the case am I misunderstanding what GEOSGeom_getDimensions_r 
> is actually supposed to do: return 0 for point, 1 for curve, 2 for surface?
> Any help is greatly appreciated,

It's the number of ordinates used in the geometry (2 or 3, but will
always be 3 atm). Pretty useless method indeed.

--strk; 

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 


More information about the geos-devel mailing list