Closed artemp closed 8 years ago
Landed in https://github.com/mapbox/mapnik-omnivore/commit/2fbd39a50c15b7e0c588b85137ac68932cae46e6. This change works with older and upcoming Mapnik versions. After reviewing the message I've concluded that this change is an improvement overall because no matter the Mapnik behavior, if we get to this stage in using a datasource the GeoJSON file must be a FeatureCollection
is not generic enough as it is more likely an empty featureset.
Next action over at https://github.com/mapnik/node-mapnik/pull/688 (to ensure that a test like this would remain passing no matter the mapnik version).
Starting from v3.0.12 Datasource always returns
valid
(not a NULL) Featureset object.