nypl-spacetime / map-vectorizer

An open-source map vectorizer
MIT License
648 stars 57 forks source link

Empty Output #16

Closed wboykinm closed 11 years ago

wboykinm commented 11 years ago

Thanks for the assistance getting script up and running!

Now I'm getting empty output on a very similar, but larger .tif file. The output vector data has no features, and it's not producing the intermediate threshold .tif. Are there input requirements that I'm missing?

mgiraldo commented 11 years ago

The 16-bit-ness of the input is messing things up for GIMP. I converted the file to 8-bit like so (I also cropped it a bit so disregard the projwin):

gdal_translate -ot Byte -projwin -73.2150775556 44.4836930965 -73.2137377158 44.4827370413 -of GTiff btv2.tif btv2-8bit.tif

This is the output with default colors:

quantum gis 1 8 0-lisboa

You need to customize the colors for it to produce better results in this map.

Hope this helps.