source: subversion/applications/utils/import/canvec_import/canvec_to_osm/rules/TR_1750009_1_Ferry_connection_segmentRULES.txt @ 18865

Revision 18865, 7.3 KB checked in by fsteggink, 4 years ago (diff)

Canvec_to_osm python script

Line 
1# last updated 3:42 PM 10/19/2009
2# TITLE canvec-to-osm script BETA v0.9.5.0
3# TR_1750009_1_Ferry_connection_segmentRULES.txt
4# Note: This script omits the description tags.  Use rules_canvecMETAosm.txt for the full version.
5#
6# This is a comma-delimited format.
7#
8# Field:  Description:
9#      1  The shapefile types to match (outer, inner, line, point) (see below)
10#      2  The source attribute name to match
11#      3  The source attribute value to match. Can be empty to match all values.
12#      4  The name of the tag to apply when the source key/value pair match.
13#      5  The value of the tag to apply. Use a sinlgle dash ("-") to use the original value.
14#
15# The shape file types are:
16#  outer  = The outer polygon of a MultiPolygon
17#  inner  = The inner polygon of a MultiPolygon
18#  line   = A line string of a MultiLineString
19#  point  = A point of a PointString
20#
21#       
22#
23line,GEOMETRY,,GEOMETRY,-
24outer,GEOMETRY,,GEOMETRY,-
25inner,GEOMETRY,,GEOMETRY,-
26#
27# note,"CODE" is used to note all the other attributes for each feature
28#CODE
29#Name,Specification code
30#Definition,Entity specification code.
31#Data type,Integer
32#Domain [AAABBBG] => AAA = Unique value for each entity; BBB = Unique value for each combination of attribute values; G = Geometry indicator (0 = Point, 1 = Line, 2 = Area) or Generic code (9).
33line,CODE,,attribution,Natural Resources Canada
34line,CODE,,source,CanVec_Import_2009
35line,CODE,,created_by,canvec-to-osm
36#line,CODE,,canvec:source,CanVec_Feature_Catalogue_Edition_1_0_2.pdf
37#
38#
39#note,Ferry connection segment - ( Segment de liaison par transbordeur )         A ferry connection is the average route a ferryboat takes when transporting vehicles between two fixed locations on the road network. A ferry connection segment is the specific representation of a portion of a ferry connection with uniform characteristics.
40line,CODE,1750011,canvec:CODE,1750011
41#line,CODE,1750011,canvec:generic_code,1750009
42#line,CODE,1750011,canvec:entity,Ferry connection segment - ( Segment de liaison par transbordeur )
43#line,CODE,1750011,canvec:entity_definition,A ferry connection is the average route a ferryboat takes when transporting vehicles between two fixed locations on the road network. A ferry connection segment is the specific representation of a portion of a ferry connection with uniform characteristics.
44#line,CODE,1750011,canvec:GeoBase,yes
45line,CODE,1750011,route,ferry
46#
47#
48#VALDATE
49#Name,Validity date
50#Definition,Date of the data source used to create, revise or confirm an object. A source corresponds to any analog or digital document or field validation (e.g. aerial photography, imagery, GPS).
51#Data type,Character (8)
52#Domain,A date in the format YYYYMMDD. If the month or the day is unknown, the corresponding characters are left blank (e.g. 20060630, 200606, 2006). The whole field is left blank if unknown.
53#point,VALDATE,,canvec:VALDATE,-
54#line,VALDATE,,canvec:VALDATE,-
55#outer,VALDATE,,canvec:VALDATE,-
56#inner,VALDATE,,canvec:VALDATE,-
57#
58#
59#PROVIDER
60#Name,Provider
61#Definition,The affiliation of the organization that generated (created or revised) the object.
62#Data type,Integer
63#Domain,[1..4]
64#point,PROVIDER,1,canvec:PROVIDER,Other
65#point,PROVIDER,2,canvec:PROVIDER,Federal
66#point,PROVIDER,3,canvec:PROVIDER,Provincial_territorial
67#point,PROVIDER,4,canvec:PROVIDER,Municipal
68#line,PROVIDER,1,canvec:PROVIDER,Other
69#line,PROVIDER,2,canvec:PROVIDER,Federal
70#line,PROVIDER,3,canvec:PROVIDER,Provincial_territorial
71#line,PROVIDER,4,canvec:PROVIDER,Municipal
72#outer,PROVIDER,1,canvec:PROVIDER,Other
73#outer,PROVIDER,2,canvec:PROVIDER,Federal
74#outer,PROVIDER,3,canvec:PROVIDER,Provincial/territorial
75#outer,PROVIDER,4,canvec:PROVIDER,Municipal
76#inner,PROVIDER,1,canvec:PROVIDER,Other
77#inner,PROVIDER,2,canvec:PROVIDER,Federal
78#inner,PROVIDER,3,canvec:PROVIDER,Provincial/territorial
79#inner,PROVIDER,4,canvec:PROVIDER,Municipal
80#
81#
82#ID
83#Name,Feature identifier
84#Definition,Identifier for the entity of the source database.
85#Data type,Character (64)
86#Domain,A string of 32 lowercase characters random based UUID (Universal unique identifier) generated without "-". Example: 69822b23d217494896014e57a2edb8ac.
87point,ID,,canvec:UUID,-
88line,ID,,canvec:UUID,-
89outer,ID,,canvec:UUID,-
90inner,ID,,canvec:UUID,-
91#
92#
93#DATANAME
94#Name,Dataset name
95#Definition,Dataset identifier according to the National Topographic System (NTS).
96#Data type,Character (10)
97#Domain,[999A99] NTS identifier (6 characters).
98#point,DATANAME,,canvec:datasetName,-
99#line,DATANAME,,canvec:datasetName,-
100#outer,DATANAME,,canvec:datasetName,-
101#inner,DATANAME,,canvec:datasetName,-
102#
103#
104#ACCURACY
105#Name,Planimetric accuracy
106#Definition,Planimetric data accuracy expressed as the Circular Map Accuracy Standard (CMAS).
107#Data type,Integer
108#Domain,[-1,0..50] A real value equal or greater than the accuracy of the Landsat 7 Orthorectified product for the concerned area. Value "-1" is used when non applicable.
109#point,ACCURACY,,canvec:Planimetric Accuracy (CMAS),-
110#line,ACCURACY,,canvec:Planimetric Accuracy (CMAS),-
111#outer,ACCURACY,,canvec:Planimetric Accuracy (CMAS),-
112#inner,ACCURACY,,canvec:Planimetric Accuracy (CMAS),-
113#
114#
115#THEME
116#Name,Theme
117#Definition,Entity theme code.
118#Data type,Character (2)
119#Domain,[BS,EN,FO,HD,IC,LI,LX,SS,TO,TR,VE]
120#
121#
122#GAUGE,N,3,0
123#Name Railway gauge
124#Definition Type of track based on the distance between the two rails.
125#Data type Integer
126#Domain [-1,1..3]
127#Values Code Label Definition
128#-1 Unknown Impossible to determine the gauge from the data source.
129#1 Narrow Railway with a gauge of 0.967 m.
130#2 Standard Railway with a gauge of 1.435 m.
131#3 Special A railway-like feature, such as a subway or miniature railway.
132#
133#
134#COMPETENCE,N,3,0
135#Name Competence
136#Definition Legislative authority of the railway.
137#Data type Integer
138#Domain [1,2]
139#Values Code Label Definition
140#1 Other Other than federal authority.
141#2 Federal Railway governed by federal laws.
142#
143#STATUS,N,3,0
144#Name Railway status
145#Definition Status of the railway.
146#Data type Integer
147#Domain [-1,1..3]
148#Values Code Label Definition
149#-1 Unknown Impossible to determine the railway status from the data source.
150#1 Under construction Railroad under construction when the field survey was carried out.
151#2 Non-operational Railway no longer suitable for rail traffic.
152#3 Operational Any useable or used railway.
153#
154#SUPPORT,N,3,0
155#Name Railway support
156#Definition Portion of a railway having a structure to cross an obstacle.
157#Data type Integer
158#Domain [-1,1..4]
159#Values Code Label Definition
160#-1 Unknown Impossible to determine the railway support from the data source.
161#1 Ground level Railway built directly at ground level.
162#2 Snowshed Roofed structure built over a railway in mountainous areas to protect railway from snow slides.
163#3 Bridge Railway built on a raised structure spanning an obstacle.
164#4 Tunnel Railway built in a cavity or underground structure to get through or under an obstacle.
165#
166#TYPE,N,3,0
167#Name Railway type
168#Definition Description of existing infrastructure.
169#Data type Integer
170#Domain [-1,1..3]
171#Values Code Label Definition
172#-1 Unknown Impossible to determine the railway type from the data source.
173#1 Other Any known railway section that is not categorized as multiple or unique, such as a siding, passing track, spur, etc.
174#2 Multiple More than one railway on the same roadbed.
175#3 Single Railroad with only one railway.
176#
177#
178#
Note: See TracBrowser for help on using the repository browser.