source: subversion/applications/utils/import/geobase2osm/README @ 5763

Last change on this file since 5763 was 4887, checked in by jrreid, 13 years ago

geobase2osm: initial import

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1-------------
2-- STATUS: --
3-------------
4
5THIS TOOL IS NOT READY FOR PRODUCTION WORK YET. SPECIFIC RULE SETS FOR THE
6VARIOUS PROVINCES HAVE YET TO BE DEVELOPED AND IN MANY CASES WILL BE DISTINCT
7FROM THE NATIONAL RULE SET DUE TO VARIATIONS IN HOW EACH JURISDICTION CLASSIFIES
8WHAT IS A ROAD.
9
10
11
12
13Introduction:
14-------------
15This tool is designed to take a Canadian Geobase GML file (or files) and
16convert it to the representative OSM stucture.
17
18This tool is designed to be compatible with the 0.5 API.
19
20How to use:
21-----------
22
23python geobase2osm.py -i NRN_GEOM.gml [-a NRN_ADDR.gml] [-o output.osm] [--pretty]
24
25-i filename = The National Road Network Geometry input file
26-a filename = The National Road Network Address input file (optional)
27-o filename = The file to save to
28--pretty    = Create a indented and neatly formatted output file (can add a fair
29bit of whitespace)
30
31Requirements:
32-------------
33Python 2.3 or higher
34cElementTree (Note: you can use the native python ElementTree but its much slower. To
35do so change the relevant import line in the script)
36
Note: See TracBrowser for help on using the repository browser.