-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for importing non-area relations as MultiLineString
- Loading branch information
Showing
12 changed files
with
386 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<osmChange version="1"> | ||
<create> | ||
<node id="10009" version="1" timestamp="2016-01-01T00:00:00Z" lat="51.5512379" lon="-0.0405630"/> | ||
<node id="10010" version="1" timestamp="2016-01-01T00:00:00Z" lat="51.5515113" lon="-0.0406333"/> | ||
<way id="1006" version="1" timestamp="2016-01-01T00:00:00Z"> | ||
<nd ref="10009"/> | ||
<nd ref="10010"/> | ||
</way> | ||
|
||
<node id="10008" version="1" timestamp="2016-01-01T00:00:00Z" lat="51.5515683" lon="-0.0406486"/> | ||
<node id="10007" version="1" timestamp="2016-01-01T00:00:00Z" lat="51.5515883" lon="-0.0406757"/> | ||
<way id="1007" version="1" timestamp="2016-01-01T00:00:00Z"> | ||
<nd ref="10008"/> | ||
<nd ref="10007"/> | ||
</way> | ||
|
||
<relation id="102" version="1" timestamp="2016-01-01T00:00:00Z"> | ||
<member type="way" ref="1006" role=""/> | ||
<member type="way" ref="1007" role=""/> | ||
<tag k="network" v="lcn"/> | ||
<tag k="route" v="bicycle"/> | ||
<tag k="type" v="route"/> | ||
</relation> | ||
</create> | ||
|
||
<modify> | ||
<way id="1004" version="2" timestamp="2016-01-01T00:00:00Z"> | ||
<nd ref="10004"/> | ||
<nd ref="10005"/> | ||
<nd ref="10006"/> | ||
<nd ref="10004"/> | ||
<tag k="building" v="residential"/> | ||
<!-- tag with area=yes removed --> | ||
</way> | ||
</modify> | ||
</osmChange> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<osm version="1"> | ||
<node id="10002" version="1" timestamp="2015-12-31T23:59:99Z" lat="51.5107973" lon="-0.0930300" /> | ||
<node id="10003" version="1" timestamp="2015-12-31T23:59:99Z" lat="51.5108542" lon="-0.0930091" /> | ||
<way id="1000" version="1" timestamp="2015-12-31T23:59:99Z"> | ||
<nd ref="10002"/> | ||
<nd ref="10003"/> | ||
<tag k="highway" v="trunk"/> | ||
</way> | ||
|
||
<node id="10000" version="1" timestamp="2015-12-31T23:59:99Z" lat="51.5107776" lon="-0.0930375"/> | ||
<way id="1005" version="1" timestamp="2015-12-31T23:59:99Z"> | ||
<nd ref="10000"/> | ||
<nd ref="10002"/> | ||
</way> | ||
|
||
<node id="10001" version="1" timestamp="2015-12-31T23:59:99Z" lat="51.5106434" lon="-0.0930826" /> | ||
<way id="1001" version="1" timestamp="2015-12-31T23:59:99Z"> | ||
<nd ref="10001"/> | ||
<nd ref="10000"/> | ||
</way> | ||
<relation id="100" version="1" timestamp="2015-12-31T23:59:99Z"> | ||
<member type="way" ref="1000" role=""/> | ||
<member type="way" ref="1005" role=""/> | ||
<member type="way" ref="1001" role=""/> | ||
<tag k="route" v="bicycle"/> | ||
<tag k="type" v="route"/> | ||
</relation> | ||
|
||
<node id="10004" version="1" timestamp="2015-12-31T23:59:99Z" lat="51.4860918" lon="-0.0873508"/> | ||
<node id="10006" version="1" timestamp="2015-12-31T23:59:99Z" lat="51.4860020" lon="-0.0875372"/> | ||
<node id="10005" version="1" timestamp="2015-12-31T23:59:99Z" lat="51.4853370" lon="-0.0864133"/> | ||
<way id="1004" version="1" timestamp="2015-12-31T23:59:99Z"> | ||
<nd ref="10004"/> | ||
<nd ref="10005"/> | ||
<nd ref="10006"/> | ||
<nd ref="10004"/> | ||
<tag k="building" v="residential"/> | ||
<tag k="area" v="yes"/> | ||
</way> | ||
|
||
<node id="10011" version="1" timestamp="2015-12-31T23:59:99Z" lat="51.5004084" lon="-0.0824810"/> | ||
<node id="10012" version="1" timestamp="2015-12-31T23:59:99Z" lat="51.5003998" lon="-0.0833872"/> | ||
<node id="10013" version="1" timestamp="2015-12-31T23:59:99Z" lat="51.5003917" lon="-0.0836970"/> | ||
<way id="1008" version="1" timestamp="2015-12-31T23:59:99Z"> | ||
<nd ref="10011"/> | ||
<nd ref="10012"/> | ||
<nd ref="10013"/> | ||
<nd ref="10011"/> | ||
<tag k="leisure" v="park"/> | ||
</way> | ||
</osm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
areas: | ||
area_tags: | ||
- leisure | ||
tables: | ||
multilinestring: | ||
type: linestring | ||
columns: | ||
- name: osm_id | ||
type: id | ||
- name: geometry | ||
type: geometry | ||
- name: name | ||
type: string | ||
key: name | ||
- name: type | ||
type: mapping_value | ||
relation_types: | ||
- route | ||
mapping: | ||
type: | ||
- route | ||
highway: | ||
- trunk | ||
building: | ||
- residential | ||
leisure: | ||
- park | ||
multilinestring_no_relations: | ||
type: linestring | ||
columns: | ||
- name: osm_id | ||
type: id | ||
- name: geometry | ||
type: geometry | ||
- name: name | ||
type: string | ||
key: name | ||
- name: type | ||
type: mapping_value | ||
mapping: | ||
type: | ||
- route |
Oops, something went wrong.