Removing KML descriptor from list of supported formats

This commit is contained in:
DennisOSRM 2011-11-15 10:57:29 +01:00
parent d1436cce38
commit 8f3de7d022

View File

@ -60,9 +60,8 @@ public:
searchEngine = new SearchEngine<EdgeData, StaticGraph<EdgeData> >(graph, nodeHelpDesk, names);
descriptorTable.Set("", 0); //default descriptor
descriptorTable.Set("kml", 0);
descriptorTable.Set("json", 1);
descriptorTable.Set("gpx", 2);
descriptorTable.Set("json", 0);
descriptorTable.Set("gpx", 1);
}
virtual ~ViaRoutePlugin() {
@ -184,7 +183,6 @@ public:
if("cmp" == routeParameters.options.Find("geomformat") || "cmp6" == routeParameters.options.Find("geomformat") ) {
descriptorConfig.encodeGeometry = true;
}
switch(descriptorType){
case 0:
desc = new JSONDescriptor<SearchEngine<EdgeData, StaticGraph<EdgeData> > >();