[Mapserver-users] Distributed location of tiled images ?

Lars V. Nielsen LVN at gispro.dk
Sun Dec 8 11:33:21 EST 2002


This is a multi-part message in MIME format.

------=_NextPart_000_00AB_01C29EDF.E7189A00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi List,

I'm trying to get a grip on the paths to tiled images. But the only setups that seems to work for me is either having everything
cramped into the SHAPEPATH directory, or putting full paths into the index file/table, both of which is not really desirable.

There are three setup factors: SHAPEPATH, TILEINDEX and DATA (in the tiled layer), plus a possible path (relative or absolute) in
the tile index file/table records (i.e. field Location).

Having a index table (without path) + raster in a seperate subdirectory doesn't work. It seems tiles are not relative to the
tilindex table itself. Adding a DATA with absolute or relative path to the subdirectory doesn't help. I've also tried more elaborate
setups, but listing those will probably obscure the point of this mail.

Can anyone tell me exactly how the tiled image location is calculated using the above parameters ?
I'm NOT looking for a way to dynamically change locations, I just want to have the rasters distributed in a suitable tree structure.

I have "RTFM" :-) , but the documentation of this feature seems a little vague:
<<
TILEINDEX [filename]
Full filename for the index or tile definition for this layer. Similar to an ArcInfo library index, this shapefile contains polygon
features for each tile. The item that contains the location of the tiled data is given using the TILEITEM parameter. If the DATA
parameter contains a value then it is added to the end of the location. If DATA is empty then the location should contain the entire
filename.
>>

Is that SHAPEPATH+TILEINDEX+DATA+Location, or SHAPEPATH+DATA+TILEINDEX+Location, or SHAPEPATH+TILEINDEX+Location+DATA, or always
just SHAPEPATH or Location ??

Best regards/Med venlig hilsen
Lars V. Nielsen
GisPro, Denmark
http://www.gispro.dk/
http://hjem.get2net.dk/lars-online/
WGS84: 10.20'40"E 55.20'20"N

------=_NextPart_000_00AB_01C29EDF.E7189A00
Content-Type: text/x-vcard;
	name="Lars hos GisPro.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="Lars hos GisPro.vcf"

BEGIN:VCARD
VERSION:2.1
N:Nielsen;Lars;V.
FN:Lars hos GisPro
ORG:GisPro
TITLE:Company Manager
TEL;WORK;VOICE:+45 70 23 9876
TEL;WORK;FAX:+45 6595 9877
ADR;WORK:;;Ugletoften 309;Odense S;;DK-5260;Denmark
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Ugletoften 309=0D=0AOdense S DK-5260=0D=0ADenmark
X-WAB-GENDER:2
URL;HOME:http://hjem.get2net.dk/lars-online/
URL;WORK:http://www.gispro.dk
EMAIL;PREF;INTERNET:lvn at gispro.dk
REV:20021208T163321Z
END:VCARD

------=_NextPart_000_00AB_01C29EDF.E7189A00--




More information about the mapserver-users mailing list