Problem with shape files

Rahkonen Jukka Jukka.Rahkonen at MMMTIKE.FI
Tue Jul 4 05:41:30 EDT 2006


Hi,

I am not sure if I totally understood your problem, but I'll try to guess what might be wrong.

First, tileindex is a catalog for Mapserver so that it can find correct physical images from a certain area. A field in a dbf file (default name "location") gives the path to physical images. Check this field and think if Mapserver should be able to find the images by that. If your images are not located in the same directory as your SHAPEPATH is you must create tileindex so that it includes the whole path to images (for example: gdaltindex catalog.shp c:\imagery\*.tif)

Next thing might be to compare the extents in the mapfile and in the tileindex shapefile informed by ogrinfo.

If these things are ok and you have created a raster layer with reference to correct tileindex file and having correct projection I cannot say why you cannot get your images visible. If you have very many big images included in tileindex you might reach the server timeout limit. For me with tiff files without overviews the 300 second timeout hits if my request means rendering some 10 gigabytes of original imagery.

Regards,

-Jukka-



-----Original Message-----
From: UMN MapServer Users List on behalf of antti siukola
Sent: Tue 4.7.2006 11:37
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Problem with shape files
 
Hi!

I'm have an issue with shape files not showing any images that should
be in it. I made the shape file with gdaltindex out of a bunch of
TIFFs and all the shapes (checked with a shape viewer and it doesn't
show the images) are fine except that output doesn't show any images.
What could I do? I'm on php mapscript.

AnttiS



More information about the mapserver-users mailing list