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

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

Canvec_to_osm python script

Line 
1# last updated 3:50 AM 10/19/2009
2# TITLE canvec-to-osm script BETA v0.9.5.0
3# LX_1000069_0_MarinaRULES.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#
23point,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).
33point,CODE,,attribution,Natural Resources Canada
34point,CODE,,source,CanVec_Import_2009
35point,CODE,,created_by,canvec-to-osm
36#point,CODE,,canvec:source,CanVec_Feature_Catalogue_Edition_1_0_2.pdf
37#
38#
39#
40#
41point,CODE,1000060,canvec:CODE,1000060
42#point,CODE,1000060,canvec:generic_code,1000069
43#point,CODE,1000060,canvec:entity,Marina - ( Marina )
44#point,CODE,1000060,canvec:entity_definition,Site that is equipped for mooring and servicing pleasure boats.
45#point,CODE,1000060,canvec:value,Marina - ( Marina )
46point,CODE,1000060,leisure,marina
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#
55#
56#PROVIDER
57#Name,Provider
58#Definition,The affiliation of the organization that generated (created or revised) the object.
59#Data type,Integer
60#Domain,[1..4]
61#point,PROVIDER,1,canvec:PROVIDER,Other
62#point,PROVIDER,2,canvec:PROVIDER,Federal
63#point,PROVIDER,3,canvec:PROVIDER,Provincial/territorial
64#point,PROVIDER,4,canvec:PROVIDER,Municipal
65#
66#
67#ID
68#Name,Feature identifier
69#Definition,Identifier for the entity of the source database.
70#Data type,Character (64)
71#Domain,A string of 32 lowercase characters random based UUID (Universal unique identifier) generated without "-". Example: 69822b23d217494896014e57a2edb8ac.
72point,ID,,canvec:UUID,-
73#
74#
75#DATANAME
76#Name,Dataset name
77#Definition,Dataset identifier according to the National Topographic System (NTS).
78#Data type,Character (10)
79#Domain,[999A99] NTS identifier (6 characters).
80#point,DATANAME,,canvec:datasetName,-
81#
82#
83#ACCURACY
84#Name,Planimetric accuracy
85#Definition,Planimetric data accuracy expressed as the Circular Map Accuracy Standard (CMAS).
86#Data type,Integer
87#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.
88#point,ACCURACY,,canvec:Planimetric Accuracy (CMAS),-
89#
90#
91#THEME
92#Name,Theme
93#Definition,Entity theme code.
94#Data type,Character (2)
95#Domain,[BS,EN,FO,HD,IC,LI,LX,SS,TO,TR,VE]
96#point,THEME,LX,canvec:Theme,LX Places of Interest
97#
Note: See TracBrowser for help on using the repository browser.