Problem with shape files

antti siukola siukola.antti at GMAIL.COM
Tue Jul 4 03:55:46 PDT 2006


Hi!

The problem was with the missing absolute path in shape table. Thanks Jukka.

AnttiS

On 7/4/06, antti siukola <siukola.antti at gmail.com> wrote:
> Hi!
>
> In the index the shape table shows that the location column has a
> value that is the name of the image and the shape file is in the same
> dir as the images. Loading just one tile as a raster layer works so
> the extent should be ok. When viewing the shape and some of the images
> on separate layers I see that they are in right places. All tiles
> together are about 3GB.
>
> AnttiS
>
> On 7/4/06, Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi> wrote:
> > 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