osmand_map_creation
osmand_map_creation copied to clipboard
create or integrate extract system
Geofabrik's extracts are limiting which areas can be built easily. Extracts aren't done according to country codes in some cases eg Dominican and haiti being combined. Some countries become unbuildable once addresses are added eg Spain or nearly unbuildable eg Mexico.
An extract system that follows iso area codes would simplify adding new countries and remove reliance on Geofabrik. The osm planet file could be downloaded and split.
With data from the useful links section, it should be possible to build with osmium extract.
Useful links: https://github.com/datasets/country-codes https://github.com/datasets/geo-countries
- use osm2pgsql or imposm to load into postgres
- keep data up to date with diffs
- ogr2osm using postgis query with st_intersection and st_intersects to clip data