Apply raster symbolizer on gdalimage
See original GitHub issueHi, I have tried to load an image manually in map control. I can now read a tiff image using gdal, here is my code
> DotSpatial.Data.Rasters.GdalExtension.GdalImage g = new DotSpatial.Data.Rasters.GdalExtension.GdalImage(@"E:\Personal\Project\Sebal\dem\dem.tif");
> map1.MapFrame.Layers.Add(g);
well it works and loads gdal driver, But it does not show anything in map, It seems there must be some symbolizer applied on map, But I could not figure out how to do it, Can some one pleas hep me?thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
RasterSymbolizer — GeoServer 2.24.x User Manual
RasterSymbolizer ¶. GeoServer supports the ability to display raster data in addition to vector data. Raster data is not merely a picture, rather...
Read more >Apply a raster function template to symbolize classified ...
Right-click the created raster function template, and click Export. In the Export window, specify a name for the template under Name and ensure...
Read more >Geoserver couldn't read SLD - Raster Symbolizer as ...
For your raster you actually want to use the recode function which will assign a colour to each value directly, such as: <PolygonSymbolizer> ......
Read more >Using the ImageMosaic extension — GeoServer Enterprise ...
Go to Data Panel ‣ Stores and click Add new Store. · Select ImageMosaic under Raster Data Source: · In order to create...
Read more >Splitting raster into smaller chunks using GDAL?
I have a utility that uses subprocess.Popen to run multiple gdal translates at the same time which I use for extracting a large...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you see the image if you load your tif file via Map.AddLayers()?
If this works you might be better of using Map.AddLayer(fileName) instead of trying to load it manually.
If it doesn’t work DotSpatial might have a problem loading the file for one reason or another. In this case it would be nice if you’d upload the file so we can check whether we can fix the problem.
@jany-tenaj yes exactly