[geos-devel] Re: Return value of GEOSGeom_getDimensions_r
Frank Warmerdam
warmerdam at pobox.com
Fri Dec 11 11:33:14 EST 2009
Alex Trofast wrote:
> Hi Frank,
>
> The reason I said that is because the fact is I get a 3 no matter which
> type I use (Point, Polygon, or Linestring) and looking at the
> implementation of GEOSGeom_getDimensions_r it is returned as this:
> dim = ls->getCoordinatesRO()->getDimension();
> It does not call the Linestring's getDimension it seems. Does this seem
> like the correct interpretation?
Alex,
Looking in the C bindings, I see what you mean. I think this is an error
in how the bindings were constructed. Would you mind filing a ticket on it?
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the geos-devel
mailing list