The map.html
web page shows all Czech cities that satisfy certain criteria. Currently the criteria are as follows:
- population of at least 5 000 and
- within 2 hours (b car) from Hranice and
- wthin 1.5 hours (by car) from Čáslav.
To recalculate the results, follow these steps.
-
Use
db-wiki.csv
as your input. It's a list of all Czech cities, incl. population and area, downloaded manually from Wikipedia. -
Use
map-cities-to-gps.rb
to fetch GPS coordinates from Nominatim API. -
Use
calculate-distances-by-car.html
to calculate distances by car via SMap API. -
Use
filter-cities.rb
to filter the list.