Norway/Import of shops

From OpenStreetMap Wiki
Jump to navigation Jump to search

Introduction

The purpose of this project is to populate OSM in Norway with stores and fuel stations, with a priority to the most commonly used categories. This will enable users and applications to search and navigate to these points of interest. This wiki page describes data sources, tagging, permissions, tools and the status for each category and brand.

Permissions have been obtained for most of the brands described here to use their data in OSM. There are small python programs on shops2osm for each brand to extract the shop data and to generate OSM files. The first time imports have been manual jobs in order to ensure that locations and conflation are correct. The update2osm tool is used for later automated updates of existing shops in OSM based on the stored ref:xx tag.

Fuel stations

YX

YX is owned by Reitangruppen, which also owns the 7 Eleven franchise in Norway.

Brands:

  • "YX" - Full service fuel station with shops. Stations dedicated to trucks are named "YX Truck", but with brand=YX.
  • "YX 7-Eleven" - Full service fuel station. The store at the fuel station is branded "7 Eleven". These fuel stations are operated by 7 Eleven (same owner as YX)
  • "Uno-X" - Automated discount fuel stations without shops

Data: JSON list in https://yx.no/privat/ruteplanlegger/ HTML

Permission: Magne Haugland, YX

Import tool: yx2osm.py

Status: All fuel stations imported, including rebranding of 7 Eleven stations from Shell to YX in January 2019. Needs periodic updates.

Reference tag: ref:yx

Circle K

Circle K acquired and rebranded all the former Statoil fuel stations in Norway.

Stations which are labeled "Tine" or "Posten" are not for public access and should not be imported into OSM.

Brands:

  • "Circle K" - Full service fuel stations with shops
  • "123" - Automated discount fuel stations without shops

Data: https://www.circlek.no/cs/Satellite?pagename=CMS/Stations/SearchFilterProxy&country=no&categories=statoil+station,1-2-3+station,truck+station

Permission: Trond Eriksen, Circle K

Import tool: circlek2osm.py

Status: All fuel stations have been imported. Needs periodic updates.

Reference tag: ref:circlek

Esso

The Esso fuel stations in Norway have been sold to Certas Energy Norway, but the stations still carry the Esso brand and appear on Esso's website.

Brand: "Esso"

Data: https://www.essofuelfinder.no/nb-no/api/v1/Retail/retailstation/GetStationsByBoundingBox?latitude1=74&longitude1=-3&latitude2=55&longitude2=38

Permission: Morten Stien, Certas Energy Norway

Import tool: esso2osm.py

Status: All fuel stations have been imported. Needs periodic updates.

Reference tag: ref:esso

Shell

The Shell fuel stations in Norway have been sold to St1 Norge, but the stations still carry the Shell brand. The stations appear on both Shell and St1 web sites.

Stations which are labeled "Asko" are not for public access and should not be imported.

Brand: "Shell"

Data: https://placelocator.st1.fi/api/v1/find-places/area (also requires container with query parameters, see python program

Permission: Per Albert Forsmo, St1 Norge

Import tool: shell2osm.py (this tool is also able to extract the St1 fuel stations in Sweden and Finland)

Status: All fuel stations have been imported. Needs periodic updates.

Reference tag: ref:st1

Best

Best is an independent brand for private fuel station owners who do not like to belong to one of the major brands.

Brand: "Best"

Data: Scraping from https://beststasjon.no

Permission: Nina Dahlgren, Best stasjon

Import tool: best2osm.py

Status: All fuel stations have been imported. Needs periodic updates.

Reference tag: ref:best

Automat 1

When St1 acquired all Shell stations in Norway, it agreed with the Norwegian competition authority to sell its automated stations to an independent owner. These stations were subsequently sold to the company Green Cube and rebranded to "Automat 1".

Brand: "Automat 1"

Data: Scraping of https://www.automat1.no/bensinstasjon/

Permission: Henning Aarsand, Green Cube

Import tool: automat2osm.py

Status: All fuel stations have been imported. Needs periodic updates.

Reference tag: None (brand="Automat1")

Bunker Oil

Bunker Oil is a small brand primarily focusing on fuel to trucks and ships.

Brand: "Bunker Oil"

Data: JSON string in https://www.bunkeroil.no/om-bunker-oil/bensinstasjoner

Permission: Edgar Ulvestad, Bunker Oil

Import tool: None

Status: All fuel stations have been imported. Needs periodic updates.

Reference tag: None (brand="Bunker Oil")

LPG Norge

LPG Norge is a small brand selling autogas and domestic propane.

Brand: "LPG Norge"

Data: CSV file at http://www.lpgnorge.no/stasjonsoversikt/

Import tool: None

Status: All fuel stations have been imported. Needs periodic updates.

Reference tag: None (brand="LPG Norge")

Supermarkets and convenience stores/kiosks

Coop

Coop Norge operates several brands in various formats and categories.

Brands:

  • "Coop Prix" - supermarket
  • "Extra" - supermarket
  • "Matkroken" - supermarket
  • "Coop Marked" - supermarket
  • "Coop Mega" - supermarket
  • "Obs" - large supermarket
  • "Coop Byggmix" - do-it-yourself
  • "Obs Bygg" - do-it-yourself
  • "Coop Elektro" - electronics

Data: https://coop.no/StoreService/StoresByBoundingBox?locationLat=59.9&locationLon=10.9&latNw=72.0&lonNw=4.0&latSe=57.0&lonSe=32.0&chainId=999 (requires to be split in two parts, for example at 65 degrees latitude)

Permission: Inge Olaf Andresen, Coop Norge

Import tool: coop2osm.py

Status: All stores have been imported. Requires regular updates.

Reference tag: ref:coop

Norgesgruppen

Norgesgruppen operates several supermarket brands with various formats.

Brands:

  • "Joker" - supermarket
  • "Kiwi" - supermarket
  • "Meny" - supermarket
  • "Nærbutikken" - supermarket
  • "Spar" - supermarket

Data: https://platform-rest-prod.ngdata.no/api/FindStore/StoresClosestToMe/<brand_id>/?latitude=65.4&longitude=16.8&minnumberofstores=1&maxNumberOfStores=0&maxDistance=2069637 (brand id: Kiwi: 1100, Spar: 1210, Joker: 1220, Nærbutikken: 1270, Meny: 1300)

Permission: Aleksander Kirkeng, Norgesgruppen

Import tool: norgesgr2osm.py

Status: All stores have been imported. Requires regular updates.

Reference tag: ref:norgesgruppen

Reitangruppen

Reitangruppen operates the Rema 1000 supermarket brand as well as a number of convenience stores (including the 7-Eleven brand in Norway), kiosks and restaurants. The group also operates the YX petrol stations.

Rema 1000

Rema 1000 is a discount supermarket brand.

Brand: "Rema 1000"

Data: https://www.rema.no/api/v2/stores/

Permission: Celin Kjenslie, Rema 1000

Import tool: rema2osm.py

Status: All stores have been imported. Requires regular updates.

Reference tag: ref:rema

7-Eleven

The 7-Eleven brand in Norway has both city convenience stores and stores at a number of YX petrol stations

Brand:

  • "7-Eleven" - city convenience stores
  • "YX 7-Eleven" - co-branded petrol stations/convenience stores

Data: JSON data from http://code.metalocator.com/index.php?user_lat=0&user_lng=0&postal_code=&radius=10000&Itemid=4243&view=directory&layout=combined&tmpl=component&framed=1&parent_table=&parent_id=0&task=search_zip&search_type=point&option=com_locator&ml_location_override=&go=+Søk+

Permission: Gerd-Helen Nyborg, Reitan Convenience Stores

Import tool:

Status: All stores have been updated. Requires regular updates.

Reference tag: ref:7eleven

Narvesen

Narvesen originally was a newsstand brand but now also offers a range of general kiosk items.

Brand: "Narvesen"

Data: Scraping from https://narvesen.no/finn-butikk

Permission: Synnøve Reisæter Tveit, Narvesen

Import tool: narvesen2osm.py

Status: All kiosks have been imported. Regular updates required.

Reference tag: ref:narvesen

Deli de Luca

Bunnpris

Bunnpris is a discount supermarket brand.

Brand: "Bunnpris"

Data: Scraping from https://bunnpris.no/butikker

Permission: Lars Langø, Bunnpris

Import tool: bunnpris2osm.py

Status: All stores have been imported. Regular updates required.

Reference tag: ref:bunnpris

Snarkjøp

Pharmacies

Apotek 1

Apotek 1 are regular pharmacies.

Brand: "Apotek 1"

Data: https://www.apotek1.no/wcs/resources/store/10151/storelocator/latitude/59.9139/longitude/10.7522?maxItems=1000&radiusUOM=km&radius=2500&siteLevelStoreSearch=false

Permission: Daniel Glasø, Apotek 1

Import tool: apotek12osm.py

Status: All pharmacies have been imported. Regular updates required.

Reference tag: ref:apotek1

Boots apotek

Boots apotek are pharmacies which also offer related convenience store items.

Brand: "Boots"

Data: https://zpin.it/on/location/map/boots/ajax/search.php?c%5Bz:cat:ALL%5D=1&lang=no&mo=440558&mn=default&json

Permission: Stine Helmersen, Boots Norge

Import tool: boots2osm.py

Status: All pharmacies have been imported. Regular updates required.

Reference tag: ref:boots

NMD

  • Vitusapotek
  • Ditt apotek

Other categories

Europris

Europris is a discount brand which offer general merchandise, including hardware tools, but not food.

Brand: "Europris"

Data: https://www.europris.no/storestock/index/getStoresDetails

Permission: Janne Engh, Europris

Import tool: europris2osm.py

Status: All stores have been imported. Regular updates required.

Reference tag: ref:europis

Jernia

Jernia is a hardware store brand.

Brand: "Jernia"

Data: https://www.jernia.no/store-finder/stores.json

Permission: Håvard Stensrud, Jernia

Import tool: jernia2osm.py

Status: All stores have been imported. Regular updates required.

Reference tag: ref:jernia

Plantasjen

Plantasjen are garden centres.

Brand: "Plantasjen"

Data: https://register.geonorge.no/api/sosi-kodelister/fylkesnummer.json?

Permission: Vibeke Næss, Plantasjen

Import tool: plantasjen2osm.py

Status: All stores have been imported. Regular updates required.

Reference tag: ref:plantasjen

Hageland

Vinmonopolet

Please see WikiProject Norway/Public Services#Vinmonopolet

Depracted brands

These brands do no longer exist in Norway:

  • ICA
  • Rimi
  • LIME
  • Statoil
  • YX Dieselservice (is YX Truck)
  • St1
  • Shell Express
  • Hydro Texaco

Template

Brand:

Data:

Permission:

Import tool:

Status:

Reference tag:

{{taginfo|key|value}}

Example import procedure for convenience/supermarket/doityourself/electronics

Requirements: JOSM, todo-plugin

  1. Set up Norway orthophoto, Kartverket N50 topo and OpenStreetMap Carto as background imagery
    • Set Opacity for N50 and Carto to 50%. This way you will be able to see buildings and existing OSM labels
  2. Download existing shops in OSM, via overpass with the following query
    • try it yourself in overpass-turbo
      [out:xml][timeout:90]; 
       {{geocodeArea:Finnmark}}->.searchArea; (
         nwr["shop"="convenience"](area.searchArea); 
         nwr["shop"="supermarket"](area.searchArea); 
         nwr["shop"="electronics"](area.searchArea); 
         nwr["shop"="doityourself"](area.searchArea); 
       ); 
       (._;>;); 
       out meta;
      
  3. Get the shops that are to be imported for your area and copy them over to the work-layer. Now you should have a layer will all shops that exist in OSM and all the new shops you want to import.
  4. Search for "new" in JOSM and add all the new shops to the TODO-lis
  5. Walk through the pair of shops in the "Matches" folder one by one and merge, move and fix each shop.
  6. Look for nearby shops that should be removed/merged. Move shop-tags away from buildings to nodes inside the building, adjust the placement of shop-nodes, fix/remove non-existing retail-chains.

QA

  1. Validate (shift+V) everything, look for duplicate nodes, self-intersecting buildings, buildings within buildings, invalid opening hours and fix everything
  2. Delete the ADDRESS tag and any other capital letter tag such as COUNTY for all nodes
  3. Search for source modified -"Coop Norge" (or "Norgesgruppen" or whatever the source is) to find objects you have edited and left the source. Consider removing it if its not valid anymore. Then remove then the source thats on the imported data. The changeset will be tagged with this anyway, so adding another source is superfluous.
  4. Search for "new" in JOSM and look at all the tags just to see everything makes sense and then look at the list of all selected objects and see if anything is strange. Duplicate names, no name, wrong shop-type, etc
  5. Upload to OSM with the change set tagged with "source:date" set to the date of the import data file
  6. Possibly resolve some conflicts. Typically outlines of buildings that are connected to something else. Usually fixed by double-clicking the conflict, zoom to it, right clicking the conflict and resolve to my version, and then cleaning up what gets destroyed

Permissions

Permissions and contacts
Category Brand Comments Brand contact person
Supermarkets, convenience stores Coop All brands within Coop Inge Olaf Andresen
Norgesgruppen All brands within Norgesgruppen Aleksander Kirkeng
Bunnpris Lars Langø
Rema 1000 Celin Kjenslie
7-Eleven Includes fuel stations co-branded with YX Gerd-Helen Nyborg
Narvesen Synnøve Reisæter Tveit
Fuel stations Circle K Trond Eriksen
Esso Permission from owner Certas Energy Norway Morten Stien
Shell Permission from owner St1 Norge Per Albert Forsmo
YX / Uno-X Magne Haugland
Best stasjon Nina Dahlgren
Automat 1 Permission from owner Green Cube Henning Aarsand
Bunker Oil Edgar Ulvestad
Pharmacies Apotek 1 Daniel Glasø
Boots Stine Helmersen
Other categories Plantasjen Vibeke Næss
Europris Janne Engh
Jernia Håvard Stensrud