[mapserver-users] WCS Elevation and Edge Matching

jasonbeverage jasonbeverage at gmail.com
Fri May 1 14:01:08 EDT 2009



Hi all,

I figured out what the issue was this morning.  I realized I needed to
expand the bounding box of each tile by half a pixel on all sides so that
the elevation values on the tile edges would line up with the CENTER of the
pixel rather than the edges.

Thanks and sorry for the noise!

Jason


jasonbeverage wrote:
> 
> Hi all,
> 
> I'm working on the osgEarth (http://www.osgearth.org) WCS plugin and I'm
> trying to connect to MapServer as a WCS to access SRTM data.
> 
> Things look great for the most part, but I'm having issues that tile edges
> don't line up exactly, the elevations are slightly off.  I am specifying
> bilinear resampling in the map file via PROCESSING "RESAMPLE=BILINEAR".
> 
> The edges of the bounding boxes I'm specifying should be lining up exactly
> with the neighboring tiles.
> 
> The SRTM I am using is a single tiled geotiff with overviews.
> 
> Are there any tricks to getting the edges of the tiles to match up
> exactly?
> 
> Thanks!
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/WCS-Elevation-and-Edge-Matching-tp2752933p2754493.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list