-
Notifications
You must be signed in to change notification settings - Fork 0
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
Raster colorizer example #1
Comments
iperdomo
added a commit
that referenced
this issue
Dec 20, 2017
iperdomo
added a commit
that referenced
this issue
Dec 20, 2017
iperdomo
added a commit
that referenced
this issue
Dec 20, 2017
iperdomo
added a commit
that referenced
this issue
Dec 20, 2017
- This code was possible thanks to a pairing session with @dlebrero - We found that there is no need to convert the raster to Byte type if we use the band number in the datasouce configuration https://github.com/mapnik/mapnik/wiki/PgRaster band - integer - request for a specific raster band index (1-based). 0 means to read all bands. Note that a band read from a single band raster gets interpreted as Grayscale if band=0 is specified while they retain their original value when explicitly referenced with the "band" parameter. This affects effectiveness of RasterColorizer: https://github.com/mapnik/mapnik/wiki/RasterColorizer - We still need to test if the same behavior applies to a raster that has been reprojected to Web mercator (EPSG:3857) with gdalwarp - We're using `pgraster` plugin. We need to double if this is the same plugin used in Windshaft or if it is `postgis`
iperdomo
added a commit
that referenced
this issue
Dec 20, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gdal
pluginpostigs
pluginThe text was updated successfully, but these errors were encountered: