mapbox / mapnik-omnivore

Node module that returns metadata about spatial files.
45 stars 19 forks source link

Shapefile projections must be parseable by srs and mapnik #135

Closed rclark closed 8 years ago

rclark commented 8 years ago

Covers an edge case where srs can parse a shapefile's projection but mapnik cannot initialize a projection object from the resulting proj4 string.

This protects omnivore from throwing errors here: http://github.com/mapbox/mapnik-omnivore/blob/74e754d91f1475efcfc2fe6bb7b862cda5d34638/lib/shape.js#L95

springmeyer commented 8 years ago

:+1: