[geos-devel] EWKB and M component
strk
strk at keybit.net
Fri Aug 27 04:05:09 EDT 2010
On Fri, Aug 06, 2010 at 10:29:09AM -0500, Aron Bierbaum wrote:
> We have recently ran across some data that we are trying to load from
> PostGIS that contains a fourth M component. [1] We quickly noticed
> that the GEOS WKBReader does not support a potential M component. Are
> there any plans to improve support for this extra component?
No plans.
> Since we really don't care about this fourth component, and we didn't
> want to attempt to add a fourth component to the Coordinate class, we
> extended the WKBReader to simply strip this extra component. I have
> attached a patch for review.
I suggest you strip the M on the db side.
GEOS's WKBReader is meant to read WKB, not EWKB.
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the geos-devel
mailing list