Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.
/ elveg2osm Public archive
forked from gomyhr/elveg2osm

Conversion from Elveg data to OSM

License

Notifications You must be signed in to change notification settings

osmno/elveg2osm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elveg2osm

Conversion from Norwegian ELVEG road-data to OpenStreetMap

ARCHIVED

This project is archived. See nvdb2osm for the new import tool, which uses the API from Nasjonal Vegdatabase

Usage

Note: elveg2osm only works with python2, not with python3. You need to install the requirements with pip2 and run the program with python2 if both are installed.

  1. Install python2.

  2. Install the required Python packages thusly:

pip2 install -r requirements.txt
  1. Get your data files from Geonorge.no- ELVEG or from /geonorge/Samferdsel/Elveg/SOSI and unpack your files.

  2. Unpack the XXXXElveg.zip, and put the unpacked files somewhere handy.

  3. Run the program from the elveg2osm-folder thusly:

python2 elveg2osm.py DIRECTORY MUNICIPALITY_NUMBER

Example:

python2 elveg2osm.py 1201Elveg 1201

(Given your ELVEG-data is in the folder "1201Elveg", and that the municipalitynumber is 1201.)

  1. After the program succeeds, the input-directory contains a file called XXXXElveg_default, which is the output of the command sosi2osm XXXXElveg.SOS default.lua >XXXXElveg_default.osm, and at least the file XXXXFart.txt.

XXXX is the 4-digit municipality number, listed for example at wikipedia.

Requirements

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%