[geos-devel] Coordinate Sequence Dimensions?

strk at refractions.net strk at refractions.net
Tue Jul 11 17:08:21 EDT 2006

On Tue, Jul 11, 2006 at 12:20:46PM -0600, Charlie Savage wrote:
> To create a coordinate sequence via the C API you use this method:
> GEOSCoordSeq_create(unsigned int size, unsigned int dims)
> If you trace through the code though, the dims is never used. 
> Coordinate sequences always have 3 dimensions.  I guess there are plans 
> to have different types of coordinate sequences in the future?

Maybe :)

> In the SWIG bindings, should I hide this parameter since its not used or 
> go ahead and expose it (right now its exposed).

That's depend on how bindings would handled a future addition of it.
We wouldn't be able to add a parameter to a C api, thus the dimension
arg is there now.


More information about the geos-devel mailing list