Optimize BCR file size
Posted: Fri Jun 21, 2019 9:08 am
Hi there,
these days a partner asked me how to ensure the file size of a BCR is as small as possible so his drivers mobile quota wouldn't be exceed. Therefore I just would like to mention some strategies you could apply:
Best regards,
Bernd
these days a partner asked me how to ensure the file size of a BCR is as small as possible so his drivers mobile quota wouldn't be exceed. Therefore I just would like to mention some strategies you could apply:
- Use compression: once the 100%-BCR string is available you might zip it with a compression algorithm such as LZMA2. As the BCR file usually contains redundant string elements it is a proper candidate to reduce its size this way. So reduce it within the application, send it to the mobile device and extract it there. This approach won't have an impact on routing quality on the mobile device.
- Ensure to remove manoeuvres with a strong likelihood to be mediculous. Some manoeuvres have a reduced prio - they might be unnecessary. E.g. you could use xRoute1 manoeuvreType or detailLevel. Small hint: locations before a manouuvre are less important than those after the manoeuvre. And: applying this approach may have an impact on the routing quality on the mobile device.
- Apply both at the same time
Best regards,
Bernd