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

Offline abrensch

  • Apprentice of Locus
  • **
  • Posts: 101
  • Thanked: 23 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

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11506
  • Thanked: 334 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
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
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!