-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RasterColorizer support #4
Comments
Explain more what you'd like to do. Proper bindings for RasterColorizer are not trivial to expose. A shortcut would be to load an XML that contained an empty map and a style with a RasterColorizer, then complete the map programmatically in java. |
We'd like to build a map tiler for big raster data that rides on Mapnik-jni, and we want it to support dynamic styling by passing in a carto raster symbolizer. Something like:
For this to work, do you think proper bindings are the right tool for the job, or is the shortcut the best way to get started here? |
shortcut should get you started. For now you could just pass the XML on the url. Carto would of course be nice, but since the main carto impl is in javascript I assume you can't easily hook into that from java. |
I'll see how far I can get with XML and Java. On the other hand, there is Rhino of course. |
@eightysteele - how did this go working around it for the time being? |
@springmeyer we tested and the workaround is gold. we didn't try the rhino route though which would be interesting for hooking into the main carto implementation in js. |
btw, carto now supports raster-colorizer: mapbox/carto#5 |
Hey Guys, just wondering what it would take to fold in RasterColorizer support into mapnik-jni? cc: @springmeyer
The text was updated successfully, but these errors were encountered: