[geos-devel] Dimension and Coordinate Sequences

Frank Warmerdam warmerdam at pobox.com
Mon May 17 11:25:56 EDT 2010


Folks,

I am creating a GEOS Point from 2D WKB input, then fetching back the
CoordinateSequence and interogating it's dimension.  I get "3".

Looking through the code there does not seem to be a real effort to preserve
dimension for coordinate sequences, at least with the CoordinateArraySequence
implementation.  Is this intentional?

As the Z coordinate is NaN I'll try and adapt my code to watch for that as
a clue to dimension but it is not entirely clear to me why dimension is not
currently preserved.

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