Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Education
Marble
Commits
18fff64b
Commit
18fff64b
authored
Jun 30, 2016
by
Dennis Nienhüser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add another admin boundary conversion tag
parent
070fc0dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tools/shp2osm/polyshp2osm.py
tools/shp2osm/polyshp2osm.py
+2
-1
No files found.
tools/shp2osm/polyshp2osm.py
View file @
18fff64b
...
...
@@ -186,6 +186,7 @@ def feature_class(data):
'Admin-1 aggregation'
:
[(
'boundary'
,
'administrative'
),
(
'admin_level'
,
'4'
)],
'Admin-1 minor island'
:
[(
'boundary'
,
'administrative'
),
(
'admin_level'
,
'4'
)],
'Admin-1 scale rank'
:
[(
'boundary'
,
'administrative'
),
(
'admin_level'
,
'4'
)],
'Admin-1 region boundary'
:
[(
'boundary'
,
'administrative'
),
(
'admin_level'
,
'4'
)],
'Railroad'
:
[(
'railway'
,
'rail'
)],
'Railroad ferry'
:
[(
'route'
,
'ferry'
)],
'Urban area'
:
[(
'settlement'
,
'yes'
)],
...
...
@@ -813,4 +814,4 @@ if __name__ == "__main__":
if
non_geom
!=
0
:
print
(
'Unknown geometry present in SHP file: '
,
non_geom
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment