indexed tif images do not display
William E Reid
wer at CSTONE.NET
Wed Jun 22 11:06:51 PDT 2005
My experience is that it IS relative to the SHAPEPATH directory (which
can be be defined as relative within your mapfile... So yeah, confusing.
-=Bill
Frank Warmerdam wrote:
> On 6/22/05, Ethan Alpert <ealpert at digitalglobe.com> wrote:
>
>>I think you need to rerun gdaltindex. I just did a dbf dump of mine and
>>realized that the paths to the tiles are absolute paths. Not sure if
>>there's a way to construct relative path tileindexes.
>>
>>Anyone?
>
>
> Ethan,
>
> gdaltindex will store the paths in the form they are passed in. So
> if you want relative paths, use those on the commandline.
>
> eg.
>
> gdaltindex index.shp doq/*.tif
>
> as opposed to
>
> gdaltindex index.shp /opt/data/doq/*.tif
>
> Of course, it can be tricky to ensure that the relative
> paths in the index file are correctly interpreted by mapserver.
> I'm never sure if it interpretes them relative to the index file,
> or the SHAPEPATH or what.
>
> Best regards,
More information about the MapServer-users
mailing list