Route geometry compressed by default.
This commit is contained in:
parent
57b3f42b03
commit
68f0cb7684
@ -35,7 +35,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
#include "../Plugins/RawRouteData.h"
|
||||
|
||||
struct _DescriptorConfig {
|
||||
_DescriptorConfig() : instructions(true), geometry(true), encodeGeometry(false), z(18) {}
|
||||
_DescriptorConfig() : instructions(true), geometry(true), encodeGeometry(true), z(18) {}
|
||||
bool instructions;
|
||||
bool geometry;
|
||||
bool encodeGeometry;
|
||||
|
@ -162,8 +162,8 @@ public:
|
||||
if(routeParameters.options.Find("geometry") == "false" ) {
|
||||
descriptorConfig.geometry = false;
|
||||
}
|
||||
if("cmp" == routeParameters.options.Find("geomformat") || "cmp6" == routeParameters.options.Find("geomformat") ) {
|
||||
descriptorConfig.encodeGeometry = true;
|
||||
if("cmp" == routeParameters.options.Find("no") || "cmp6" == routeParameters.options.Find("no") ) {
|
||||
descriptorConfig.encodeGeometry = false;
|
||||
}
|
||||
switch(descriptorType){
|
||||
case 0:
|
||||
|
Loading…
Reference in New Issue
Block a user