Opened 21 years ago
Closed 21 years ago
#295 closed defect (fixed)
[OGR] Make OGR Connections honour SHAPEPATH
Reported by: | dmorissette | Owned by: | dmorissette |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | OGR Support | Version: | 4.0 |
Severity: | normal | Keywords: | |
Cc: | LVN@… |
Description
"Lars V. Nielsen" wrote: > > When you're looking into it, you might wanna check why OGR connection paths (e.g. MapInfo tabs) aren't relative to SHAPEPATH but to > the MAP file itself. > This is the way things have been implemented. Whether this is a good or a bad thing could be argued I guess. For sure we won't change this behavior in version 3.6, but I'll CC the mapserver-dev list to find out what others would think about changing the behavior in 3.7 so that OGR CONNECTIONS try to honour the SHAPEPATH when it's set.
Change History (2)
comment:1 by , 21 years ago
Cc: | added |
---|---|
Summary: | [OGR] Should OGR Connections honour SHAPEPATH? → [OGR] Make OGR Connections honour SHAPEPATH |
comment:2 by , 21 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I've made this change in MapServer 4.1 (CVS). OGR now does the same as shapefiles with relative paths: try to open the files relative to shapepath, and if not found then try relative to mapfile path.
Note:
See TracTickets
for help on using tickets.