Comments (3)
@devemux86
Thanks for the link.
I didn't know that before.
Minify
is another idea, I was able to save more than half of the space (json) - without gzip.
And all clients should be able to read this without changing the code.
from brouter.
We could also encode the polyline of the path coordinates?
(could be as option)
https://developers.google.com/maps/documentation/utilities/polylinealgorithm
All online routers do this by significantly reducing the size of their json responses.
from brouter.
A short json size test - Hannover Frankfurt trekking ~350km:
json out size 764508
minity out size 645464
gzip out size 213615
json out size 764504
gzip out size 220431
time minify ~170ms - a regex logic was used
time gzip ~70ms - both variantes
from brouter.
Related Issues (20)
- Add to Taginfo Projects
- Tolls vs Vehicle Type HOT 5
- Router confusion due to area sharing border with highway HOT 4
- Profile settings HOT 12
- Cross-country skiing profile for Android app HOT 3
- Option to export as GPX Route or Track HOT 4
- Last message in the block of messages references non-existing point in geometry. (Output in geojson format). HOT 1
- Hiking profile ignores `acces=no` HOT 9
- zip file of v1.7.3 realeases
- Some thoughts on rerouting – app only HOT 5
- Trace disappears except when layers menu panel open. Android9 Chrome 121.0.6167.101 HOT 1
- Problem with voicehints on roundabouts HOT 5
- Some thoughts on conditional rules HOT 4
- Tags `sidewalk:right` and `sidewalk:left` not supported HOT 2
- Elevation data seems badly wrong HOT 3
- Exception reading rawTrack HOT 1
- OruxMaps turn instructions no longer working HOT 14
- Question / Proposal: Possible to send turn-by-turn instructions via BLE? [Android] HOT 2
- Download segments CertPathValidatorException HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brouter.