Open Firefishy opened 3 years ago
Thanks @Firefishy, that would certainly be useful.
I'm currently using the daily Britain and Ireland extract from Geofabrik and filtering using a polygon of the UK. In theory imposm supports the use of diffs, but I won't have time in the near future to look into this in more detail.
Connected to the Britain and Ireland extract: I was talking to Frederik a while back and he would be open to providing a UK extract (British mainland + Northern Ireland + Isle of Man + Channel Islands) because I was building OSMUK-in-a-box https://github.com/osm-uk/osmuk2pgsql
I know its not a huge step to simply delete Eire, but could bring it up again.
Thanks @jnicho02. As you say, not a huge step to delete Eire each time, but if he does happen to provide a UK extract do let me know.
(In addition to the areas you've mentioned, to be used for this tool the extract would need to cover other parts of the UK such as the Western Isles, Shetland Islands, etc.)
https://download.openstreetmap.fr/ offers UK extract minutely diffs.
Sudo code example
wget https://download.openstreetmap.fr/extracts/europe/united_kingdom-latest.osm.pbf
pyosmium-up-to-date -vv united_kingdom-latest.osm.pbf
# Done. Updated to latest minutely.
Coming back to this much later, a note (mainly to self) that currently post_import.sql
runs after the imposm
import, creating indices, pre-calculating centroids and creating an association table between OSM objects and FHRS establishments. This would probably preclude minutely updates, but not necessarily updates more frequent than the current daily ones.
Frederik has now created that https://download.geofabrik.de/europe/united-kingdom.html download
Thanks @jnicho02. Now using that UK download (https://github.com/gregrs-uk/fhodot/commit/1b6aed2090b9c67e78a6a2c7e39efcce7474efc3), especially as the GB & Ireland one wasn't being updated.
Updates are currently daily, but it would be great if the updates we more frequent.