Pål -

The problem is that your TILEINDEX shapefile is only in one projection, and 
there is no facility for recording per-file projection parameters in it.

I would instead recommend that you create one layer, and one TILEINDEX, for 
each distinct projection, and then create a GROUP that combines all these 
layers into a single logical layer you can turn on or off and treat as if it 
were a single layer.

     - Ed

P.S. I wonder if it *might* be possible to bundle these in one layer if you 
reprojected each image into a common projection, created a TILEINDEX for those 
files, then replaced those reprojected files with the originals.  The TILEINDEX 
is used to quickly identify candidate images for use in rendering the map 
request, and GDAL *might* respect the projection in the GeoTIFF once the file 
was opened.  But I've never tried that and I think the GROUP approach I 
described is much simpler and safer.

Ed McNierney
Chief Mapmaker
Demand Media / TopoZone.com
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
Phone: 978-251-4242, Fax: 978-251-1396
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pål Kristensen
Sent: Friday, March 14, 2008 11:21 AM
To: [email protected]
Subject: [MAPSERVER-USERS] Tiff files with different projections in the 
samelayer


Hi!

I have several GeoTiff files with different projections parameters, they are
all transverse mercator but the central meridian and the latitude of origin
differs. The projection information is written in the tiff files, hence the
files are real GeoTiffs. Is it possible to build a tileindex for these files
without re projecting them to a common projection, and access them trough
one single layer in a mapfile?

Regards
Pål Kristensen
-- 
View this message in context: 
http://www.nabble.com/Tiff-files-with-different-projections-in-the-same-layer-tp16048268p16048268.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to