Closed karme closed 11 years ago
Please try the latest source from develop branch. It should be "compression=false".
Btw, it is almost always faster to decode the geometry on the client since the transfer of an uncompressed geometry takes quite long.
Project OSRM notifications@github.com writes:
Please try the latest source from develop branch. It should be "compression=false".
cherry picked: 86a5bbac5137b1580fb7e5ce2e9518a67030c853 f7fdb8b54e2120d5d72af618248788c9fa37bf08
works, thanks
Project OSRM notifications@github.com writes:
Btw, it is almost always faster to decode the geometry on the client since the transfer of an uncompressed geometry takes quite long.
i use that switch in a api wrapper which has its own google encoder (https://github.com/karme/Project-OSRM/tree/apiwrapper)
btw: there is no switch to disable douglas-peucker, right?
(side-note: i am still not convinced the google encoding itself [not the douglas-peucker part] is really worth it, if http compression is used)
what does the api wrapper do?
Emil Tin notifications@github.com writes:
what does the api wrapper do?
boring remaping of input parameters and output format
maybe the only interesting part: adding elevation/distance to output
btw: there is no switch to disable douglas-peucker, right?
Try z18 to reduce polyline generalization to a minimum.
after updating to latest master i can't get the unencoded geometry anymore. Previously the undocumented no=cmp. What I am supposed to pass in now? Looking at APIWrapper.h I guess it should be compression=false ?
But there seems to be a typo?
- query = (_(zoom | output | jsonp | checksum | location | hint | compressed_geometry | language | instruction | alt_route | old_API) ) ;
?