mapbox / mapnik-omnivore

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

Non-georeferenced TIFFs #115

Closed GretaCB closed 9 years ago

GretaCB commented 9 years ago

Implement better error handling for TIFFs that return null when calling gdalDatasource.geotransform. If the TIFF does not contain georef, node-gdal will return null.

A TIFF with no georef could potentially have a neighboring World (.tfw) file that contains the georef data.

cc @rclark @springmeyer

rclark commented 9 years ago

a neighboring World (.tfw) file

:-1: on supporting this. One of the expectations in a lot of our use of mapnik-omnivore is that we're dealing with an entirely standalone file. Agree, though, that null handling could use some work.

GretaCB commented 9 years ago

Merged and deployed.