Author Topic: Add internal compression to BRouter service call  (Read 1081 times)

Offline abrensch

  • Apprentice of Locus
  • **
  • Posts: 107
  • Thanked: 34 times
    • View Profile
Add internal compression to BRouter service call
« on: August 06, 2019, 13:35:00 »
there's currenlty a size-limit of 0,5 MB for the resultng GPX in a service call to BRouter

To workaround that limit, I added a compression option to BRouter 1.5.x, where the GPX is gzip/base64 encoded internally.

For the client-side patch see this OsmAnd-PR:

https://github.com/osmandapp/Osmand/pull/7231/files

Could you implement this for Locus as well?

thanx, Arndt
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12539
  • Thanked: 801 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Add internal compression to BRouter service call
« Reply #1 on: August 08, 2019, 11:45:05 »
Hello Arndt,

thanks for pointing on this nice improvement. Implemented. Will be right in next version next week.

Menion
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download