gdalwarp with change in projection for tiles then adjacent tiles overlap slightly with a black border at edge.

David Lowther dlowther at COORDINATESOLUTIONS.COM
Thu Apr 5 11:01:33 EDT 2007


Not easily that I have found. 

 

One method that I have used was to calculate the overlap from adjacent
images necessary to cover the black border resulting from projection,
generate an image from the source tile and the eight adjacent tiles (not the
whole of the adjacent tiles, just the requisite margin), project, the clip
back to target projected extent.

 

However, if you can afford the disk space, creating the one large mosaic,
projecting, and then clipping out tiles is way easier.

 

David Lowther

  _____  

From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of John Mitchell
Sent: Thursday, April 05, 2007 10:41 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] gdalwarp with change in projection for tiles
then adjacent tiles overlap slightly with a black border at edge.

 

Hi,

I have found that running gdalwarp with a change in projection individually
for each tile and splitting them up via gdal_translate that the adjacent
tiles overlap slightly with a black border at edge.  If I instead run
gdalwarp against all the tiles to create a big mosaic with a change in
projection and then split(gdal_translate) them up that I don't have this
overlap. 

Is their a way to individually run gdalwarp with a change in projection
against each tile without getting this overlap?

Thanks,

-- 
John J. Mitchell 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070405/22283ee2/attachment.html


More information about the mapserver-users mailing list