Re: [mapserver-users] RE: Image Pyramid with gdal_retile and two UTM zones

2011-09-24 Thread Rahkonen Jukka
Hi,

Use the -dstnodata parameter with gdalwarp http://gdal.org/gdalwarp.html
Then use the same value in LAYER OFFSITE http://mapserver.org/mapfile/layer.html
Note that this works perfectly only if the warped images are in some lossless 
format. In jpeg, ecw etc. the nodata gets also slightly different RGB values 
and some pixels are then not transparent in Mapserver.

I have never tried alpha channels for masking the nodata area and I can't say 
it works with Mapserver.

-Jukka Rahkonen-

aphunter wrote:

 Hi there. I used gdalwarp to warp one of the zones into the spatial reference
 system of the other, and everything lined up. The only issue now is that
 each image seems tilted, and so there is a lot of black space on the warped
pyramid.

 Is there any way to prevent this from happening?

 http://osgeo-org.1803224.n2.nabble.com/file/n6825717/out.jpg

 http://osgeo-org.1803224.n2.nabble.com/file/n6825717/noalpha_m_3211401_ne_11_1_20090525_1_1.jpg

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Image-Pyramid-with-gdal-retile-and-two-UTM-zones-tp6812832p6825717.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] RE: Image Pyramid with gdal_retile and two UTM zones

2011-09-20 Thread Fawcett, David (MPCA)
For performance, you will want the imagery pre-warped into one spatial 
reference system.  (The same SRS as your output SRS.)

I don't know if you will want the output SRS to be one of the two UTM Zones, or 
if you want to choose a different SRS.

David.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of aphunter
Sent: Tuesday, September 20, 2011 11:41 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] RE: Image Pyramid with gdal_retile and two UTM zones

Thanks for the reply. Would it make more sense to create two pyramids and
then show two layers at the same time in mapserver?

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Image-Pyramid-with-gdal-retile-and-two-UTM-zones-tp6812832p6812947.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users