Ticket #336 (closed defect: fixed)
OGR input plugin's file check precludes OGDI driver use
| Reported by: | ryhalt | Owned by: | kunitoki |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.6.1 |
| Component: | OGR Input Driver | Version: | 0.6.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Patch Needs Improvement: | no | |
| Needs Docmentation: | no | Has Patch?: | no |
| Design Decision Needed: | no |
Description
When importing data such as VPF/VRF using OGR's OGDI driver, the Mapnik OGR plugin's file existence check isn't formulated to accept the OGDI driver's file string format (gltp:/<driver>/<file>).
Everything seemes to work except the file existence check. Commenting out the check at line 71 of ogr_datasource.cpp:
if (!boost::filesystem::exists(dataset_name_))...
seems to provide a preliminary fix.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
