Opened 13 years ago
Closed 13 years ago
#3882 closed defect (invalid)
tileindex path issues
Reported by: | keithmoss | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | unspecified |
Severity: | critical | Keywords: | tileindex |
Cc: |
Description
This is with MapServer 6.
We have:
SHAPEPATH "
\Nas-13\nas-13\data\photo"
TILEINDEX "index_test"
DATA ""
and the entries in the tileindex are like
Nas-13\nas-13\data\photo\n_0p2m_aerial_photography\Middleton_Beach_Mar_2007_Mosaic_ll.ecw
But MapServer is throwing out "Unable to open a > single tile to use as a template." and "Unable to access file" errors. ProcMon shows that it's really looking for a path like:
Nas-13\nas-13\data\photo\n_0p2m_aerial_photography\Middleton_Beach_Mar_2007_Mosaic_ll.ecw\.shp
Which is fine except for the \.shp on the end.
Tried removing DATA "" and MapServer then looks for:
Nas-13\nas-13\data\photo\n_0p2m_aerial_photography\Middleton_Beach_Mar_2007_Mosaic_ll.shp
Where it's replaced the .ecw extension with .shp.
Have also tried having relative paths in the tileindex shapefile, but the outcome is always one of the above.
Any insights? We've been beating our heads against it a fair bit now :)
Change History (4)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Status: | new → assigned |
---|
comment:3 by , 13 years ago
Was thinking about this more. The template error would only appear when tiling vector data. What's the full layer definition look like? Steve
comment:4 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Mea Culpa. We had the type set to polygon instead of raster :) All fine now.
Any chance you could post the tile index and mapfile?
Steve