Comments (5)
Test first on QGIS with vector layer or GeoJSON of railway routes
from world-travel-simulator.
Indian railway stations and routes data in GeoJSON tested on QGIS
from world-travel-simulator.
Need to have an algorithm which can return the route based on arrival and departure stations extending over 7536f24
The routes are in the GeoJSON which need to be matched and queried based on coordinates of arrival and departure stations. The route should be an array of coordinates similar to other vehicle types.
Since matched routes will likely be an array of LineString data, it needs to be compacted into 1D coordinate array
from world-travel-simulator.
As per the updated stations GeoJSON, update the train routing algorithm to use exact matching instead of nearest distance because stations will always lie on one or more linestrings
from world-travel-simulator.
Routing algorithm is improved in 5b354f6
But, destination and arrival station selection is not accurate yet. Maybe need to sort the stations array to better get lowest distance match more accurate.
Also, the route found is not optimal (this will be handled in new issue)
from world-travel-simulator.
Related Issues (8)
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 world-travel-simulator.