I have an ECW-file which I convert to GeoTiff using gdal_translate.
This GTiff file I use in GeoServer as a base map.
This is working great, but because I compress the GTiff with JPEG I get white borders around my area. To solve this I can clip my GTiff with the outer line of my original ECW file.
My question is how to create such an outer line. I can of course draw it myself using QGis or MapWindow but I’d prefer to let it calculated.
you could also use the original ECW-file as a mask in GRASS:
g.copy ecw_sample,MASK
and then any action you will perform for raster processing will only be within that Mask (assuming the ECW-file does not have any NULL-values inside).
Stefan
···
2013/1/9 Paul Meems [via OSGeo.org] <[hidden email]>
Hi List,
I have an ECW-file which I convert to GeoTiff using gdal_translate.
This GTiff file I use in GeoServer as a base map.
This is working great, but because I compress the GTiff with JPEG I get white borders around my area. To solve this I can clip my GTiff with the outer line of my original ECW file.
My question is how to create such an outer line. I can of course draw it myself using QGis or MapWindow but I’d prefer to let it calculated.