el-hult / isobike

A simple program that displays isocurves in the scalar bike-time field of Stockholm
MIT License
1 stars 1 forks source link

store the data via GeoJSON #2

Closed el-hult closed 9 years ago

el-hult commented 9 years ago

store the data in the GeoJSON format. Start off with coding the travel time as points and then create the 'offline' zones for different travel times storing these as polygons. create a polygon for each integer minute?

el-hult commented 9 years ago

{ "type": "FeatureCollection", "features": [ { "type": "Feature", "geometry": {"type": "Point", "coordinates": [102.0, 0.5]}, "properties": {"Bike Time [s]": 16, "id": 1} }, { "type": "Feature", "geometry": {"type": "Point", "coordinates": [132.0, 0.5]}, "properties": {"Bike Time [s]": 1600, "id":2} }, { "type": "Feature", "geometry": {"type": "Point", "coordinates": [102.0, 0.5]}, "properties": {"Bike Time [s]": 16, "id":3} }, { "type": "Feature", "geometry": {"type": "Point", "coordinates": [102.0, 0.5]}, "properties": {"Bike Time [s]": 16, "id":4} } ] }

el-hult commented 9 years ago

Simple json usage added for simple nodes. i call this issue fixed, and take on future problems!