hypothesis-geojson
hypothesis-geojson copied to clipboard
Hypothesis extension for testing with GeoJSON
The `assume` function is [incorrectly][1] being imported from `hypothesis.strategies` instead of `hypothesis`. This worked by coincidence in the [version][2] of hypothesis available when hypothesis-geojson was released. In modern releases of...
According to the [GeoJSON specification][0]: > GeoJSON is a format for encoding a variety of geographic data > structures using JavaScript Object Notation (JSON) [RFC7159] The GeoJSON specification [RFC7159] in...
When running with python 3.6 I got the error that: "The local variable features referenced before assignment" Simply changing the name of the local variable so that it no longer...
It would be nice to (optionally?) assert that the geometries are valid with correct winding order, etc. A potential implementation ``` def validate_ring(coords): from shapely.geometry import shape, mapping from shapely.geometry.polygon...
Having some issues with py27 on travis. Passes in py36. Both work in local venv. ``` INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/_pytest/main.py", line 84, in wrap_session INTERNALERROR>...