Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Support for multipoint type not working #458

Closed
artemp opened this Issue Oct 11, 2011 · 7 comments

Comments

Projects
None yet
1 participant
Owner

artemp commented Oct 11, 2011

Owner

artemp commented Oct 11, 2011

[springmeyer] Looks like we 1) don't catch multipoints in the shape plugin and 2) get caught in an infinite loop where we never reach the end of the file right here: http://trac.mapnik.org/browser/trunk/plugins/input/shape/shape_featureset.cpp#L106

Owner

artemp commented Oct 11, 2011

[springmeyer] I also noticed that the ogr pluging can read multipoint only if the 'multiple_geometries" flag is passed - which, if I understand correctly 'explodes' each point into its own geometry. If that flag is not passed then the points are lost/ignored.

Owner

artemp commented Oct 11, 2011

[springmeyer] see r1458 where I added workaround for ogr driver.

I still consider this a blocker until we avoid the infinite loop in the shapefile plugin.

Owner

artemp commented Oct 11, 2011

[springmeyer] pushing to 0.7.0

Owner

artemp commented Oct 11, 2011

[springmeyer] pushing back to 0.7.0 as I've just run into another situation where this same loop is not exited.

Owner

artemp commented Oct 11, 2011

[springmeyer] r1559 fixed multipoint reading, but it looks like we still are missing proper handling of multipointzm. will attach testing shapefile next.

Owner

artemp commented Oct 11, 2011

[artem] Fixed in 0.7 branch. Both multipoint and multipointzm (with or without index) are handled correctly.

@artemp artemp closed this Oct 11, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment