Home / Data: Planet, Coastlines, Buildings, Admins, Roads / Attribution
Daylight ML Roads is a facebook product that uses machine learning to detect unmapped roads. We scan satellite imagery for the entire planet to detect areas that look like roads or paths that have not yet been represented as ways in the OSM data set. For more information about the process please visit Mapping roads through deep learning and weakly supervised training. Each road that is detected is represented as a new way that references newly created nodes in the OSC file. Where these newly created ways connect to existing OSM ways the PBF file we will modify the existing way so that the road network is connected properly.
In the picture below the purple roads are roads generated by the Daylight Roads process.
There are few disclaimers associated with this data:
The process to apply Daylight Roads to the Daylight base map uses open source tools. You can use Osmium to apply the OSC file to the Daylight Planet PBF and create a combined PBF before importing them to PostgreSQL database with osm2pgsql. Or optionally you can use osm2pgsql to import the pbf and then append the osc file.
This option uses Osmium to process the changes in the OSC file and combine them with the Daylight PBF file to produce a new PBF file that is a combination of the two files. Example call to osmium to apply change in an osc file to a pbf file to produce the combined pbf:
`osmium apply-changes planet.osm.pbf fb-ml-roads.osc.gz -o everything.osm.pbf`
This will result in a single combined PBF file called everything.osm.pbf
. Once you have the combined pbf file you can use osm2pgsql
to import the everything.osm.pbf
file from previous steps.
Alternatively, you can import Daylight Planet PBF to PostgreSQL and then append the OSC file separately using osm2pgsql. This option doesn’t use osmium and will also skip the step of creating a combined pbf.
Use osm2pgsql
to import the Planet PBF
Use osm2pgsql
–append to import the OSC file
planet-v1.55.osm.pbf
– Complete Daylight v1.55 in OSM PBF formatml-buildings-v1.55.osm.pbf
– Microsoft Building Footprints addition to Daylight v1.55fb-ml-roads-v1.55.osc.gz
– Facebook Experimental ML Roads addition to Daylight v1.55admin-v1.55.osc.gz
– Administrative boundaries for Daylight v1.55coastlines-v1.55.tgz
– Coastline land polygons for Daylight v1.55preferred-localization-v1.55.tsv
– Additional translations for Daylight v1.55important-features-v1.55.json
– Library of curated major map features for Daylight v1.55