Opened 14 years ago
Last modified 14 years ago
#3209 new defect
Query templates are not found in the SHAPEPATH directory
Reported by: | woodbri | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Using 5.6 RC5, I noticed that query templates with a relative or no path are not found in the SHAPEPATH directory. It would seem that this is a natural place for them because they would have to be specific to the shapefiles used for the layer they are assigned to.
Putting and absolute path breaks the mapfile if you move to a different directory structure. I suspect, but did not verify that these are relative to mapfile location, but this is not always a good choice as some people put all mapfiles in a common directory that is separate from the data directory.
Templates are located relative to the mapfile. This is nothing new. Hard to make everyone happy all the time. Marking as an addition to 6.0...
Steve