[geos-devel] getCoordinateDimension() - ticket 311

strk strk at keybit.net
Wed May 26 10:13:17 EDT 2010


On Tue, May 25, 2010 at 09:27:16PM -0400, Frank Warmerdam wrote:

> I think we will have to change the values returned by the C API getDimension
> function to match C++ even though this introduces a modest risk of problems
> for applications using the undocumented current behavior.

What's the problem with deprecating it and use a new, more explicit name ?

 GEOSGeom_getSpatialDimension() maybe ?

Note that there are other functions which I think should be deprecated
so getDimension won't feel alone (the setOrdinate/getOrdinate ones
in particular, as they use 1-based index and in an undocumented way).

--strk; 

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


More information about the geos-devel mailing list