[mapserver-users] removing seamlines along edges of air photos?

Stephen Woodbridge stephenwoodbridge37 at gmail.com
Fri Dec 6 10:53:46 PST 2019


Mark,

This sounds more like a GDAL question, in that your should probably 
cleanup the images first.
A few things come to mind:
1) see if you can use nearblack utility to set the collars to NODATA
2) use gdal_translate with extents to copy only the data and not the collars
3) define a polygon around the good data, the there should be a way to 
set everything outside the polygon to NODATA, not sure about the 
specific commands to do this, but I believe it is possible.

-Steve W

On 12/6/2019 11:21 AM, Mark Volz wrote:
>
> Hello,
>
> I have a single mapfile that contains two layers.  One layer includes 
> county wide aerial photography at medium resolution.  The other layer 
> contains high resolution aerial photography for select cities in my 
> county.  I would like to combine the two layers so that I can have a 
> single “maximum resolution available” image service.  Unfortunately, 
> the high resolution air photos have a ~30 foot seamline at the edge of 
> the air photos.  The seamline is not all the same exact color so I 
> cannot set a transparency.
>
> Question:
>
> Would specifying an extent on the high resolution imagery allow me to 
> cut off the edge of the imagery (thus removing the area where there is 
> a seamline)?  Also, I am referencing all of the high resolution images 
> through a tile index so is there a way to also specify extents within 
> the tile index, or would I need to separate each of the cities into 
> different layers?
>
> Thanks!
>
> Mark Volz
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list