Skip to content

Open data


The roads and areas in the Snow removal add-on are open data from OpenStreetMap and Statistics Sweden (SCB). This page says what we use, under which terms and how the road data is made.




Roads from OpenStreetMap

© OpenStreetMap contributors. The roads that routes are planned on come from OpenStreetMap and are available under the Open Database License (ODbL) 1.0.

The OpSynk road database is derived from OpenStreetMap and is made available under the same license. You may copy, share and adapt it under the terms of that license. No other terms apply to it.

We never add our own or our customers' data to the road data. Routes, chosen and blocked roads and recorded positions are stored separately and only refer to the ids of the roads.




How the road database is made

The database is made from the OpenStreetMap extract for Sweden published at download.geofabrik.de, without adding any other information. This is the same text that comes with the data in the file LICENSE.txt.

  1. Ways with a highway tag for motorways, trunk, primary, secondary, tertiary, unclassified and residential roads, living streets, service roads, tracks, busways, pedestrian streets, cycleways and footways are kept. Paths are kept when they are designated for walking or cycling or have a paved surface. Ways with area=yes or indoor are left out. Nodes that are not in the extract end the way there.
  2. For each way these tags are kept in a shorter form: highway and service, access, vehicle and motor_vehicle, oneway and junction, name or ref, lanes, tunnel, bridge, surface (paved or not), and maxwidth, maxheight and maxweight converted to centimeters and kilograms.
  3. Ways are split into pieces where they meet other ways. A piece is named by its way id and the node ids at its ends.
  4. Where a node with a barrier that stops vehicles (for example a bollard) joins exactly two pieces, the pieces are disconnected.
  5. Restriction relations with one from way, one via node and one to way become forbidden turns between pieces. Relations that except motor vehicles are left out. An only_* relation becomes a forbidden turn to every other piece at the node.
  6. Pieces that span more than 20 tiles are left out.
  7. The pieces are stored in tiles of 0.1 degrees longitude and 0.05 degrees latitude. A piece is stored in every tile its bounding box touches. Coordinates and ids are stored as differences and the files are compressed with gzip.



Areas from SCB

Source: Statistics Sweden (SCB). The names and borders of the regional statistical areas (RegSO) and towns (tätorter), and the names of the municipalities, come from SCB's open geodata. The borders are simplified to 3 meters. Small villages (småorter) have no names in the data and are left out.




Questions

Do you have a question about the data or did you find a wrong road? Roads are corrected in OpenStreetMap and reach OpSynk the next time the road data is updated. You are welcome to contact us at support@opsynk.com.