-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathosm.ini
115 lines (97 loc) · 4.23 KB
/
osm.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# moatp: workflow for creating many maps combining PostGreSQL and OSM geodata
# Copyright (C) 2016 Neil Freeman
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Adapted from http://svn.osgeo.org/gdal/trunk/gdal/data/osmconf.ini
# put here the name of keys for ways that are assumed to be polygons if they are closed
# see http://wiki.openstreetmap.org/wiki/Map_Features
closed_ways_are_polygons=aeroway,amenity,boundary,building,craft,geological,historic,landuse,leisure,military,natural,office,place,shop,sport,tourism,waterway
# comment to avoid laundering of keys ( ':' turned into '_' )
attribute_name_laundering=yes
# uncomment to report all nodes, including the ones without any (significant) tag
#report_all_nodes=yes
# uncomment to report all ways, including the ones without any (significant) tag
report_all_ways=yes
[points]
## common attributes
osm_id=yes
osm_version=no
osm_timestamp=no
osm_uid=no
osm_user=no
osm_changeset=no
## keys to report as OGR fields
attributes=name,network,operator,wikipedia,platforms,railway
## keys that, alone, are not significant enough to report a node as a OGR point
unsignificant=created_by,converted_by,source,time,ele
## keys that should NOT be reported in the "other_tags" field
ignore=created_by,converted_by,source,time,ele,note,openGeoDB:,fixme,FIXME
## uncomment to avoid creation of "other_tags" field
other_tags=no
[lines]
# common attributes
osm_id=yes
osm_version=no
osm_timestamp=no
osm_uid=no
osm_user=no
osm_changeset=no
# keys to report as OGR fields
attributes=name,alt_name,bicycle,railway,surface,highway,operator,tunnel
# electrified,bridge,cutting,frequency,gauge,layer,railway:traffic_mode,operator,service,railway:bidirectional,owner,city,construction
# keys that should NOT be reported in the "other_tags" field
ignore=created_by,converted_by,source,time,ele,note,openGeoDB:,fixme,FIXME,tiger:cfcc,tiger:county,tiger:name_base,tiger:name_type,tiger:tlid,voltage,incline,embedded,tiger:source,tiger:upload_uuid,embankment,old_railway_operator
# uncomment to avoid creation of "other_tags" field
other_tags=no
[multipolygons]
## common attributes
## note: for multipolygons, osm_id=yes instantiates a osm_id field for the id of relations
## and a osm_way_id field for the id of closed ways. Both fields are exclusively set.
osm_id=yes
osm_version=no
osm_timestamp=no
osm_uid=no
osm_user=no
osm_changeset=no
## keys to report as OGR fields
attributes=name,type,boundary,building,landuse,leisure,water,waterway,amenity
## keys that should NOT be reported in the "other_tags" field
ignore=area,building:,created_by,converted_by,source,time,ele,note,openGeoDB:,fixme,FIXME,name:,gnis:,addr:,phone,website,website:,wikipedia,wikipedia:,NHD:,alt_name,alt_name_1,opening_hours,wreck:,seamark:,roof:,boundary,craft,geological,historic,land_area,landuse,military,military,natural,office,place,shop,sport,tourism
## uncomment to avoid creation of "other_tags" field
##other_tags=no
#[multilinestrings]
## common attributes
#osm_id=yes
#osm_version=no
#osm_timestamp=no
#osm_uid=no
#osm_user=no
#osm_changeset=no
## keys to report as OGR fields
#attributes=name,type
## keys that should NOT be reported in the "other_tags" field
#ignore=area,created_by,converted_by,source,time,ele,note,openGeoDB:,fixme,FIXME
## uncomment to avoid creation of "other_tags" field
##other_tags=no
#[other_relations]
## common attributes
#osm_id=yes
#osm_version=no
#osm_timestamp=no
#osm_uid=no
#osm_user=no
#osm_changeset=no
## keys to report as OGR fields
#attributes=name,type
## keys that should NOT be reported in the "other_tags" field
#ignore=area,created_by,converted_by,source,time,ele,note,openGeoDB:,fixme,FIXME
## uncomment to avoid creation of "other_tags" field
##other_tags=no