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

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

Canvec_to_osm python script

Line 
1# last updated 8:08 PM 11/7/2009
2# TITLE canvec-to-osm script BETA v0.9.7.0
3# TO_1580009_012_Named_feat_010CITYRULES.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#
23#point,GEOMETRY,,GEOMETRY,-
24#line,GEOMETRY,,GEOMETRY,-
25#outer,GEOMETRY,,GEOMETRY,-
26#inner,GEOMETRY,,GEOMETRY,-
27#
28# note,"CODE" is used to note all the other attributes for each feature
29#CODE
30#Name,Specification code
31#Definition,Entity specification code.
32#Data type,Integer
33#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).
34point,CONCISCODE,010,attribution,Natural Resources Canada
35point,CONCISCODE,010,source,CanVec_Import_2009
36point,CONCISCODE,010,created_by,canvec-to-osm
37#point,CODE,,canvec:source,CanVec_Feature_Catalogue_Edition_1_0_2.pdf
38line,CONCISCODE,010,attribution,Natural Resources Canada
39line,CONCISCODE,010,source,CanVec_Import_2009
40line,CONCISCODE,010,created_by,canvec-to-osm
41#line,CONCISCODE,010,canvec:source,CanVec_Feature_Catalogue_Edition_1_0_2.pdf
42outer,CONCISCODE,010,attribution,Natural Resources Canada
43outer,CONCISCODE,010,source,CanVec_Import_2009
44outer,CONCISCODE,010,created_by,canvec-to-osm
45#outer,CODE,,canvec:source,CanVec_Feature_Catalogue_Edition_1_0_2.pdf
46#
47#point,CONCISCODE,10,canvec:CONCISCODE,10 CITY City
48point,CONCISCODE,10,canvec:CODE:1580010,010
49point,CONCISCODE,10,place,city
50line,CONCISCODE,10,canvec:CODE:1580011,010
51line,CONCISCODE,10,place,city
52outer,CONCISCODE,10,canvec:CODE:1580012,010
53outer,CONCISCODE,10,place,city
54#
55#
56#point,CODE,1580010,canvec:CODE,1580010
57#point,CODE,1580010,canvec:generic_code,1580009
58#point,CODE,1580010,canvec:entity,Named feature - ( Entité nommée )
59#point,CODE,1580010,canvec:entity_definition,A feature delineating the extent; in whole or in part; of a toponymic phenomenon for which the geometry does not fully correspond to that of another feature.
60#point,CODE,1580010,natural,feature
61#line,CODE,1580011,canvec:CODE,1580011
62#line,CODE,1580011,canvec:generic_code,1580009
63#line,CODE,1580011,canvec:entity,Named feature - ( Entité nommée )
64#line,CODE,1580011,canvec:entity_definition,A feature delineating the extent; in whole or in part; of a toponymic phenomenon for which the geometry does not fully correspond to that of another feature.
65#line,CODE,1580011,natural,feature
66#outer,CODE,1580012,canvec:CODE,1580012
67#outer,CODE,1580012,canvec:generic_code,1580009
68#outer,CODE,1580012,canvec:entity,Named feature - ( Entité nommée )
69#outer,CODE,1580012,canvec:entity_definition,A feature delineating the extent; in whole or in part; of a toponymic phenomenon for which the geometry does not fully correspond to that of another feature.
70#outer,CODE,1580012,natural,feature
Note: See TracBrowser for help on using the repository browser.