forked from iandees/shp-to-osm
/
noaa_gis-to-open_sea_map-rules.txt
188 lines (187 loc) · 6.66 KB
/
noaa_gis-to-open_sea_map-rules.txt
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# This is a comma-delimited format.
#
# Field: Description:
# 1 The shapefile type to match (outer, inner, line, point) (see below)
# 2 The source attribute name to match
# 3 The source attribute value to match. Can be empty to match all values.
# 4 The name of the tag to apply when the source key/value pair match.
# 5 The value of the tag to apply. Use a sinlgle dash ("-") to use the original value.
#
# The shape file types are:
# outer = The outer polygon of a MultiPolygon
# inner = The inner polygon of a MultiPolygon
# line = A line string of a MultiLineString
# point = A point of a PointString
#
# http://www.s-57.com/
# NOAA http://www.nauticalcharts.noaa.gov/csdl/ctp/encdirect_new.htm
#
# Objects http://wiki.openstreetmap.org/wiki/OpenSeaMap/Seamark_Objects
#
# Anchorage http://wiki.openstreetmap.org/wiki/OpenSeaMap/Anchorage
var,OBJL,3,object,anchor_berth
point,OBJL,3,seamark:type,${object}
#
var,OBJL,4,object,anchorage
point,OBJL,4,seamark:type,${object}
#
# Beacons http://wiki.openstreetmap.org/wiki/OpenSeaMap/Beacons
#
var,OBJL,7,object_type,beacon_lateral
var,OBJL,7,object,beacon
point,OBJL,7,seamark:type,${object_type}
#
var,OBJL,9,object_type,beacon_special_purpose
var,OBJL,9,object,beacon
point,OBJL,9,seamark:type,${object_type}
#
var,OBJL,12,object_type,building
var,OBJL,12,object,building
point,OBJL,12,seamark:type,${object_type}
#
var,OBJL,13,object_type,builtup_area
var,OBJL,13,object,builtup_area
point,OBJL,13,seamark:type,${object_type}
#
var,OBJL,17,object_type,buoy_lateral
var,OBJL,17,object,buoy
point,OBJL,17,seamark:type,${object_type}
#
var,OBJL,18,object_type,buoy_safe_water
var,OBJL,18,object,buoy
point,OBJL,18,seamark:type,${object_type}
#
var,OBJL,19,object_type,buoy_special_purpose
var,OBJL,19,object,buoy
point,OBJL,19,seamark:type,${object_type}
#
var,OBJL,29,object_type,coastguard_station
var,OBJL,29,object,coastguard_station
point,OBJL,29,seamark:type,${object_type}
#
var,OBJL,39,object_type,daymark
var,OBJL,39,object,daymark
point,OBJL,39,seamark:type,${object_type}
#
var,OBJL,44,object_type,distance_mark
var,OBJL,44,object,distance_mark
point,OBJL,44,seamark:type,${object_type}
#
var,OBJL,58,object_type,fog_signal
var,OBJL,58,object,fog_signal
point,OBJL,58,seamark:type,${object_type}
#
var,OBJL,74,object_type,landmark
var,OBJL,74,object,landmark
point,OBJL,74,seamark:type,${object_type}
#
# Lights http://wiki.openstreetmap.org/wiki/OpenSeaMap/Lights
#
var,OBJL,75,object_type,light_minor
var,OBJL,75,object,light
point,OBJL,75,seamark:type,${object_type}
#
var,OBJL,84,object_type,mooring
var,OBJL,84,object,mooring
point,OBJL,84,seamark:type,${object_type}
#
var,OBJL,86,object_type,obstruction
var,OBJL,86,object,obstruction
point,OBJL,86,seamark:type,${object_type}
#
var,OBJL,90,object_type,pile
var,OBJL,90,object,pile
point,OBJL,90,seamark:type,${object_type}
#
var,OBJL,103,object_type,radar_transponder
var,OBJL,103,object,radar_transponder
point,OBJL,103,seamark:type,${object_type}
#
var,OBJL,125,object_type,tank
var,OBJL,125,object,tank
point,OBJL,125,seamark:type,${object_type}
#
var,OBJL,144,object_type,topmark
var,OBJL,144,object,topmark
point,OBJL,144,seamark:type,${object_type}
#
var,OBJL,159,object_type,wreck
var,OBJL,159,object,wreck
point,OBJL,159,seamark:type,${object_type}
#
# Attributes http://wiki.openstreetmap.org/wiki/OpenSeaMap/Seamark_Attributes
# Object name
point,OBJNAM,,seamark:name,-
# Information
point,INFORM,,seamark:information,-
# List of light colors
point,COLOUR,1,seamark:${object}:colour,white
point,COLOUR,2,seamark:${object}:colour,black
point,COLOUR,3,seamark:${object}:colour,red
point,COLOUR,4,seamark:${object}:colour,green
point,COLOUR,5,seamark:${object}:colour,blue
point,COLOUR,6,seamark:${object}:colour,yellow
point,COLOUR,7,seamark:${object}:colour,grey
point,COLOUR,8,seamark:${object}:colour,brown
point,COLOUR,9,seamark:${object}:colour,amber
point,COLOUR,10,seamark:${object}:colour,violet
point,COLOUR,11,seamark:${object}:colour,orange
point,COLOUR,12,seamark:${object}:colour,magenta
point,COLOUR,13,seamark:${object}:colour,pink
# Height`
point,HEIGHT,,seamark:${object}:height,-
# Light characteristics
point,LITCHR,1,seamark:${object}:character,F
point,LITCHR,2,seamark:${object}:character,Fl
point,LITCHR,3,seamark:${object}:character,LFl
point,LITCHR,4,seamark:${object}:character,Q
point,LITCHR,5,seamark:${object}:character,VQ
point,LITCHR,6,seamark:${object}:character,UQ
point,LITCHR,7,seamark:${object}:character,Iso
point,LITCHR,8,seamark:${object}:character,Oc
point,LITCHR,9,seamark:${object}:character,IQ
point,LITCHR,10,seamark:${object}:character,IVQ
point,LITCHR,11,seamark:${object}:character,IUQ
point,LITCHR,12,seamark:${object}:character,Mo
point,LITCHR,13,seamark:${object}:character,FFl
point,LITCHR,14,seamark:${object}:character,FlLl
point,LITCHR,15,seamark:${object}:character,OcFl
point,LITCHR,16,seamark:${object}:character,FLFl
point,LITCHR,17,seamark:${object}:character,Al.O
point,LITCHR,18,seamark:${object}:character,Al.LFl
point,LITCHR,19,seamark:${object}:character,Al.Fl
point,LITCHR,20,seamark:${object}:character,Al
point,LITCHR,21,seamark:${object}:character,N/A
point,LITCHR,22,seamark:${object}:character,N/A
point,LITCHR,23,seamark:${object}:character,N/A
point,LITCHR,24,seamark:${object}:character,N/A
point,LITCHR,25,seamark:${object}:character,Q+LFl
point,LITCHR,26,seamark:${object}:character,VQ+LFl
point,LITCHR,27,seamark:${object}:character,UQ+LFl
point,LITCHR,28,seamark:${object}:character,Al
point,LITCHR,29,seamark:${object}:character,Al.FFl
# Multiplicity of lights
point,MLTYLT,,seamark:${object}:multiple,-
# Signal group
point,SIGGRP,,seamark:${object}:group,-
# Signal period
point,SIGPER,,seamark:${object}:period,-
# Signal sequence
point,SIGSEQ,,seamark:${object}:sequence,-
# Nominal range
point,VALNMR,,seamark:${object}:range,-
# Beacon shape http://wiki.openstreetmap.org/wiki/OpenSeaMap/Beacons#Shapes
point,BCNSHP,stake,seamark:${object}:shape,stake
point,BCNSHP,pole,seamark:${object}:shape,pole
point,BCNSHP,perch,seamark:${object}:shape,perch
point,BCNSHP,post,seamark:${object}:shape,post
point,BCNSHP,withy,seamark:${object}:shape,withy
point,BCNSHP,beacon tower,seamark:${object}:shape,tower
point,BCNSHP,pile beacon,seamark:${object}:shape,pile
point,BCNSHP,cairn,seamark:${object}:shape,cairn
point,BCNSHP,pole,seamark:${object}:shape,pole
point,BCNSHP,buoyant beacon,seamark:${object}:shape,buoyant
#
point,CATACH,unristricted anchorage,seamark:${object}:category,unrestricted
#
#---------------------------------------------------------------------------------