git clone https://github.com/codereport/city-strides-hacking.git
Add a file named cookies.json
with the following contents:
{
"_citystrides_session": "...",
"remember_user_token": "..."
}
Ctrl + Shift + I
to open the Web Developer ToolsGET
command using the Copy Value
-> Copy as Curl
cookies
can be found in the generated commandparameters.yaml
. Example below.city: bangkok
map_style: 'open-street-map'
max_distance: 25.0
steps: 9
hot_spots: true
hot_spot_n: 2
hot_spot_delta: 0.05
heat_map_max_length: 1
heat_map_exclude_csnodes: false
start_node: 1692740969
./download_node_csv.py cookie.json
to scrape all the nodes to nodes.csv
./plot_nodes.py
to view all of the nodes without a 1000 node limitcargo build
, this creates executable ./city_strides_route_generator
data/bangkok.json
and data/bangkok_all.json
by querying https://overpass-api.de with the queries of overpass_queries.md (assuming you set bangkok in parameters.yaml
) ././city_strides_route_generator