Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure with mapnik 3.0.13 #139

Closed
tomhughes opened this issue Feb 14, 2017 · 2 comments
Closed

Test failure with mapnik 3.0.13 #139

tomhughes opened this issue Feb 14, 2017 · 2 comments

Comments

@tomhughes
Copy link
Contributor

Running the 3.0.x branch with mapnik 3.0.13 is giving me a new test failure that wasn't present with 3.0.12:

======================================================================
ERROR: python_tests.geometry_io_test.test_handling_geojson_null_geoms
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/thh/rpm/BUILD/python-mapnik-8139e5c7aebc2b555f991fc32f6190a1db1cf405/test/python_tests/geometry_io_test.py", line 335, in test_handling_geojson_null_geoms
    out_json = mapnik.Feature.from_geojson(j, ctx).to_geojson()
RuntimeError: Failed to parse geojson feature
@tomhughes
Copy link
Contributor Author

It's the last entry in geojson_nulls that is triggering it:

    '{ "type": "Feature", "properties": { }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [] ] ] ] }}',

Note that it might not be the mapnik version change triggering it as other things have also change (boost from 1.60.0 to 1.63.0 to start with).

@springmeyer
Copy link
Member

This should be solved now in the v3.0.x branch after #144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants