[geos-devel] getCoordinateDimension() - ticket 311
Martin Davis
mbdavis at refractions.net
Wed May 26 12:08:24 EDT 2010
getDimension follows the OGC spec. Seems to me it's better to simply
change it to match the spec and the C++ API. This was clearly a bug in
the first place, no?
strk wrote:
> 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
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>
>
--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022
More information about the geos-devel
mailing list