artemp/trac2github — Issue #337: OGR input plugin's file check precludes OGDI driver use
Author: artemp
Created: 2011-10-09 20:28:25+00:00
State: open
Labels: OGR_Input_Driver

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://).

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.