#include "leo.h"
#include "osm.h"
+#include "shp.h"
#include "map.h"
#include "css.h"
#include "sym.h"
"invalid",
"osmxml",
"fixed",
+ "shape",
};
static struct cf_section map_source_cf = {
msg(L_INFO, "Adding fixed objects");
fixed_add();
break;
+ case DATA_SOURCE_SHAPE:
+ msg(L_INFO, "Parsing %s as shape file", ds->file);
+ if (!ds->file)
+ die("Shape data sources must have a file name");
+ shp_parse(ds->file);
+ need_proj = 1;
+ break;
default:
die("Invalid data source format");
}