Open four43 opened 8 years ago
I just found some additional info. That same setup works in Mapbox Studio Classic v0.2.7. When I was using Mapbox Studio Classic v0.3.3 the same project didn't work. Bummer. Those apps use node-mapnik v3.1.2 vs v3.4.9. Thinking it might be a mapnik bug then... I'll create an issue over there and reference this one.
I have a grayscale raster image that I am using in a source project in Mapbox Studio Classic (v0.3.3). I am looking to colorize it based on color ramps. The
raster-colorizer
methods seemed to fit the need but I'm having trouble: They aren't doing anything.Source GeoTiff
gdalinfo
:The image projects properly and is visible in the source project just fine.
I then created a style from this source project:
The image once again is displaying fine, just no colors have been applied to it. I can see the grayscale image, change the opacity and the raster opacity changes. I just cannot see the colorizer results.
I can upload some test files if needed, I would just like a quick sanity check to make sure I'm not doing anything obviously wrong.
EDIT: I was using this old TileMill doc as a reference: https://www.mapbox.com/blog/tilemill-raster-colorizer/ and am looking to achieve a simliar effect. The UI in mapbox-studio-classic is obviously a bit different but I was hoping a similar effect would be possible.