Advertisement
Guest User

Untitled

a guest
Oct 4th, 2011
512
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.02 KB | None | 0 0
  1. settlement-point:
  2.   type: point
  3.   n: Населенные пункты
  4.   f: <place> IN ('city', 'town', 'village', 'hamlet', 'locality')
  5.   fields:
  6.     - <name>
  7.    - <name:en>
  8.    - <name:ru>
  9.    - <place>
  10.    - <addr:country>
  11.    - <addr:region>
  12.    - <addr:district>
  13.    - <addr:postcode>
  14.    - <population>
  15.   classification:
  16.     place:
  17.       classes:
  18.         - { k: city, f: <place> = 'city' }
  19.         - { k: town, f: <place> = 'town' }
  20.         - { k: village, f: <place> = 'village' }
  21.         - { k: hamlet, f: <place> = 'hamlet'}
  22.  
  23. settlement-polygon:
  24.   type: polygon
  25.   n: Населенные пункты
  26.   f: "<place> IN ('city', 'town', 'village', 'hamlet', 'locality')"
  27.   fields:
  28.     - <name>
  29.    - <name:en>
  30.    - <name:ru>
  31.    - <place>
  32.    - <addr:country>
  33.    - <addr:region>
  34.    - <addr:district>
  35.    - <addr:postcode>
  36.    - <population>
  37.   classification:
  38.     place:
  39.       classes:
  40.         - { k: city, f: <place> = 'city' }
  41.         - { k: town, f: <place> = 'town' }
  42.         - { k: village, f: <place> = 'village' }
  43.         - { k: hamlet,  f: <place> = 'hamlet'}
  44.  
  45. highway-line:
  46.   type: line
  47.   n: Дорожная сеть
  48.   f: >-
  49.     <highway> IN ('motorway', 'trunk', 'primary',
  50.     'secondary', 'tertiary', 'residential',
  51.     'unclassified', 'road', 'living_street',
  52.     'service', 'track', 'pedestrian', 'footway', 'path')
  53.   fields:
  54.     - <name>
  55.    - <highway>
  56.    - <oneway>
  57.    - <bridge>
  58.    - <tunnel>
  59.    - <maxspeed>
  60.    - <lanes>
  61.   classification:
  62.     rank:
  63.       classes:
  64.         - {k: 1, f: "<highway> IN ('motorway', 'trunk')"}
  65.         - {k: 2, f: "<highway> IN ('primary')"}
  66.         - {k: 3, f: "<highway> IN ('secondary')"}
  67.         - {k: 4, f: "<highway> IN ('tertiary')"}
  68.         - {k: 5, f: "<highway> IN ('residential', 'unclassified')"}
  69.         - {k: 6, f: "<highway> IN ('service')"}
  70.  
  71. water-line:
  72.   type: line
  73.   f: <waterway> IN ('river', 'stream', 'canal')
  74.   fields:
  75.     - <name>
  76.    - <waterway>
  77.   classification:
  78.     waterway:
  79.       classes:
  80.         - {k: river, n: river, f: <waterway> = 'river'}
  81.         - {k: stream, n: stream, f: <waterway> = 'stream'}
  82.         - {k: canal, n: canal, f: <waterway> = 'canal'}
  83.        
  84. water-polygon:
  85.   type: polygon
  86.   n: Водоёмы
  87.   f: <natural> IN ('water', 'wetland') OR <waterway> = 'riverbank'
  88.   fields:
  89.     - <name>
  90.    - <natural>
  91.    - <waterway>
  92.    - <wetland>
  93.    
  94. railway-line:
  95.   type: line
  96.   n: Железнодорожные, трамвайные пути, метро
  97.   f: <railway> IN ('rail', 'tram', 'light_rail', 'abandoned', 'disused', 'subway', 'preserved')
  98.   fields:
  99.    - <railway>
  100. railway-station-point:
  101.   type: point
  102.   n: Железнодорожные остановки
  103.   f: <railway> IN ('station', 'halt', 'tram_stop')
  104.   fields:
  105.     - <name>
  106.    - <railway>
  107. vegetation-polygon:
  108.   type: polygon
  109.   n: Растительность
  110.   f: <natural> IN ('wood', 'scrub', 'heath') OR <landuse> IN ('forest')
  111.   fields:
  112.     - <natural>
  113.    - <landuse>
  114.   classification:
  115.     wood_tagging:
  116.       classes:
  117.         - k: both
  118.           n: natural=wood + landuse=forest
  119.           f: <natural> = 'wood' AND <landuse> = 'forest'
  120.            
  121.         - k: natural
  122.           n: natural=wood
  123.           f: <natural> = 'wood'
  124.  
  125.         - k: landuse
  126.           n: landuse=forest
  127.           f: <landuse> = 'forest'
  128.  
  129. boundary-polygon:
  130.   type: polygon
  131.   n: Административные границы
  132.   f: <boundary> = 'administrative'
  133.   fields:
  134.    - <name>
  135.    - <admin_level>
  136.   classification:
  137.     admin_level:
  138.       n: admin_level
  139.       classes:
  140.         - { k: 2, f: <admin_level> = '2' }
  141.         - { k: 3, f: <admin_level> = '3' }
  142.         - { k: 4, f: <admin_level> = '4' }
  143.         - { k: 5, f: <admin_level> = '5' }
  144.         - { k: 6, f: <admin_level> = '6' }
  145.         - { k: 7, f: <admin_level> = '7' }
  146.         - { k: 8, f: <admin_level> = '8' }
  147.         - { k: 9, f: <admin_level> = '9' }
  148.        
  149. landuse-polygon:
  150.   type: polygon
  151.   n: Землепользование
  152.   f: <landuse> IS NOT NULL AND NOT <landuse> IN ('forest')
  153.   fields:
  154.    - <landuse>
  155. building-polygon:
  156.   type: polygon
  157.   n: Здания
  158.   f: <building> IS NOT NULL
  159.   fields:
  160.     - <building>
  161.    - <addr:street>
  162.    - <addr:suburb>
  163.    - <addr:housenumber>
  164. poi-point:
  165.   type: point
  166.   n: Точки интереса
  167.   f: >-
  168.     <man_made> IS NOT NULL OR <leisure> IS NOT NULL
  169.     OR <amenity> IS NOT NULL OR <office> IS NOT NULL
  170.     OR <shop> IS NOT NULL OR <tourism> IS NOT NULL
  171.     OR <sport> IS NOT NULL
  172.   fields:
  173.     - <man_made>
  174.    - <leisure>
  175.    - <amenity>
  176.    - <office>
  177.    - <shop>
  178.    - <tourism>
  179.    - <sport>
  180. poi-polygon:
  181.   type: polygon
  182.   f: >-
  183.     <man_made> IS NOT NULL OR <leisure> IS NOT NULL
  184.     OR <amenity> IS NOT NULL OR <office> IS NOT NULL
  185.     OR <shop> IS NOT NULL OR <tourism> IS NOT NULL
  186.     OR <sport> IS NOT NULL
  187.   fields:
  188.    - <name>
  189.    - <man_made>
  190.    - <leisure>
  191.    - <amenity>
  192.    - <office>
  193.    - <shop>
  194.    - <tourism>
  195.    - <sport>
  196.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement