[Mapserver-users] Working with tile indexes (gdaltindex)

Ed McNierney ed at topozone.com
Wed Apr 7 07:37:42 PDT 2004


Yes, Yuri, you should NOT have a DATA statement in a layer that uses a TILEINDEX.  You should instead have a TILEINDEX statement pointint to the shapefile you created with gdaltindex.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242  

-----Original Message-----
From: Michael Schulz [mailto:mschulz at webgis.de] 
Sent: Wednesday, April 07, 2004 2:50 AM
To: Balkanu GIS
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Working with tile indexes (gdaltindex)

Hi,

i think that when using tiled data you have to provide the path to the tileindex-shapefile with the parameter TILEINDEX not just data. Maybe have a glimpse a the docs, since a combination of both (tileindex +
data) behaves differently again.

Cheers, Michael

> Balkanu GIS wrote:
> 
> 
>>Hi all,
>>
>>Setup: MapLab 2.1rc3, ms4w, mapserver 4.0 precompiled binary for 
>>Windows, Win2000, SP4.
>>
>>I have a number of 13MB TIFF images covering a large area of Australia. 
>>At the moment they are all defined as separate layers in the map file. 
>>I would like to have them all referenced in a tile index. I have 
>>downloaded gdaltidex and used it to create a SHP file containing 
>>refernces to the raster files, however I have not been able to 
>>successfully display it.
>>
>>The relevant portion of my mapfile is below. Can anyone suggest what I 
>>should do to enable the tile display? Do I need a separate class item 
>>for each member of the index?
>>
>> LAYER
>>   NAME "Tiled 250k Topographic"
>>   GROUP "Raster"
>>   STATUS ON
>>   DATA "../../../Documents and Settings/All Users/Data/Tables 
>>(MI)/Rasters/Topo_250k/topo250"
>>   TYPE RASTER
>>   TILEITEM "location"
>>   UNITS METERS
>>   SIZEUNITS PIXELS
>>   MAXSCALE 600000
>>   CLASS
>>   END
>> END
>>END
>>
>>----
>>
>>Yuri Banens
>>
>>

--
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                 Informationstechnologie mbH
                                      In den Weihermatten 66
		                             79108 Freiburg
                                      0761 55695-95 (Fax 96)
mschulz at webgis.de              www.webgis.de/www.zopecms.de

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list