Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions counterexamples/divisions/division/bad-geographical-region.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
id: counterexample:division:bad-geographical-region
type: Feature
geometry:
type: Point
coordinates: [0, 0]
properties:
theme: divisions
type: division
version: 0
subtype: geographical_region
class: invalid_class
names:
primary: A division with an invalid class.
hierarchies:
- - division_id: counterexample:bad-geographical-region
subtype: geographical_region
name: A division with an invalid class.
ext_expected_errors:
- value must be one of 'megacity', 'city', 'town', 'village', 'hamlet', 'disputed', 'region'
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ properties:
type: division_area
version: 0
ext_expected_errors:
- " missing properties 'names', 'subtype', 'class', 'country', 'division_id'"
- " missing properties 'names', 'subtype', 'class', 'division_id'"
16 changes: 16 additions & 0 deletions docs/schema/reference/divisions/division.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Currently, the following subtypes are available in the `division` feature type:
- `macrohood`
- `neighborhood`
- `microhood`
- `geographical_region`

<Tabs>
<TabItem value="country" label="country" default>
Expand Down Expand Up @@ -188,6 +189,21 @@ A neighborhood is a geographically localized community within a city, town, subu
A microhood is a mini-neighborhood that is contained within a neighborhood. Example: Gätjensort in Hamburg

</TabItem>

<TabItem value="geographical_region" label="geographical_region" default>
<table>
<tbody>
<tr>
<th><code>subtype</code></th>
<td><code>geographical_region</code></td>
</tr>
</tbody>
</table>


A geographical region that is not administrative. Examples: Middle east, Appalachia, Baltics, Intermediate and Immediate geographic regions in Brazil, Snowbelt, Caribbean, etc.

</TabItem>
</Tabs>


Expand Down
17 changes: 17 additions & 0 deletions examples/divisions/division/geographical_region.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
id: example:division:middle_east
type: Feature
geometry:
type: Point
coordinates: [-100.4458820, 39.7837304]
properties:
theme: divisions
type: division
version: 0
subtype: geographical_region
names:
primary: Middle East
hierarchies:
- - division_id: example:division:middle_east
subtype: geographical_region
name: Middle East
311 changes: 311 additions & 0 deletions examples/divisions/division_area/geographical_region.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,311 @@
---
id: example:division_area:middle_east
type: Feature
geometry:
type: MultiPolygon
coordinates: [
[
[
[-170.6290015, 25.3053671],
[-170.4076134, 25.5082632],
[-170.6300336, 25.7076006],
[-170.8506754, 25.5056948],
[-170.6290015, 25.3053671]
]
],
[
[
[-171.7380245, 25.555318],
[-171.4949943, 25.7747795],
[-171.726725, 25.9865667],
[-171.9674222, 25.7845748],
[-171.7380245, 25.555318]
]
],
[
[
[-174.0155727, 25.8411597],
[-173.7437151, 26.0119599],
[-173.905507, 26.2639004],
[-174.2280618, 26.0816774],
[-174.0155727, 25.8411597]
]
],
[
[
[-175.9506918, 27.5543172],
[-175.5545765, 27.7281369],
[-175.6295776, 28.1237431],
[-176.1866168, 27.9330153],
[-175.9506918, 27.5543172]
]
],
[
[
[-166.1182936, 23.4254685],
[-165.8702478, 23.8636297],
[-166.3767961, 24.0561939],
[-166.5303209, 23.7815879],
[-166.1182936, 23.4254685]
]
],
[
[
[-167.9975573, 24.7968943],
[-167.778217, 25.0023686],
[-168.005803, 25.20088],
[-168.2206497, 24.9967937],
[-167.9975573, 24.7968943]
]
],
[
[
[-157.4082814, 55.576068],
[-157.1024297, 55.6733491],
[-157.0908436, 55.8696588],
[-157.7232999, 55.870247],
[-157.4082814, 55.576068]
]
],
[
[
[-155.6071465, 55.55087],
[-155.2980807, 56.0385909],
[-156.1270413, 55.9006965],
[-156.0182299, 55.6525826],
[-155.6071465, 55.55087]
]
],
[
[
[-178.3063127, 28.1837783],
[-178.0577766, 28.4309636],
[-178.3589518, 28.655272],
[-178.60056, 28.4012455],
[-178.3063127, 28.1837783]
]
],
[
[
[-179.1390989, 51.0070029],
[-173.0611771, 51.8159234],
[-171.9740685, 52.3514335],
[-178.9229631, 52.0275532],
[-179.1390989, 51.0070029]
]
],
[
[
[-180, 51.7940888],
[-179.8836979, 51.9764894],
[-180, 52.138489],
[-180, 51.8434509],
[-180, 51.7940888]
]
],
[
[
[-170.3952428, 56.8431693],
[-169.6956679, 57.0307607],
[-169.5801239, 57.2365744],
[-170.6525321, 57.3494254],
[-170.3952428, 56.8431693]
]
],
[
[
[-169.5771945, 56.3323838],
[-169.1322924, 56.6737641],
[-170.1288343, 56.6777795],
[-170.0250438, 56.4580184],
[-169.5771945, 56.3323838]
]
],
[
[
[-168.0561273, 64.76067],
[-167.5930406, 65.0286657],
[-168.5591053, 65.007885],
[-168.4482776, 64.8327172],
[-168.0561273, 64.76067]
]
],
[
[
[-156.6720152, 20.3000654],
[-155.800111, 20.8826396],
[-158.455088, 21.6943824],
[-158.2462379, 21.1430868],
[-156.6720152, 20.3000654]
]
],
[
[
[-160.5398128, 21.4482644],
[-159.3028431, 21.7124132],
[-159.1241278, 22.2798801],
[-160.2161715, 22.1993854],
[-160.5398128, 21.4482644]
]
],
[
[
[-161.9236658, 22.8550496],
[-161.6972866, 23.0665997],
[-161.9360903, 23.2652845],
[-162.1455351, 23.0568827],
[-161.9236658, 22.8550496]
]
],
[
[
[-164.7000199, 23.3734366],
[-164.4760626, 23.575844],
[-164.7056774, 23.7796906],
[-164.9238496, 23.5726775],
[-164.7000199, 23.3734366]
]
],
[
[
[-155.6810194, 18.7091718],
[-154.595509, 19.5434371],
[-155.877534, 20.4681176],
[-156.2732568, 19.7049213],
[-155.6810194, 18.7091718]
]
],
[
[
[-82.8732511, 24.4116731],
[-82.5948517, 24.5902399],
[-82.7300073, 24.8395704],
[-83.153058, 24.6776636],
[-82.8732511, 24.4116731]
]
],
[
[
[-81.8773353, 24.2520071],
[-68.1545602, 47.3251568],
[-82.6797222, 41.6765556],
[-84.129, 46.5305],
[-94.9573889, 49.3701944],
[-125.0271096, 48.4630615],
[-119.6795205, 33.0665347],
[-97.40561, 25.83764],
[-84.0549877, 29.8627705],
[-81.8773353, 24.2520071]
]
],
[
[
[179.2356588, 51.1468561],
[178.6498473, 52.169477],
[176.8813625, 51.9348227],
[177.1853792, 51.6303915],
[179.2356588, 51.1468561]
]
],
[
[
[179.6302237, 51.6862391],
[180, 52.1384488],
[179.2193828, 52.1042624],
[179.2227021, 51.833522],
[179.6302237, 51.6862391]
]
],
[
[
[175.915408, 52.1325238],
[176.2623207, 52.4572425],
[175.5671255, 52.4969017],
[175.5586568, 52.2829505],
[175.915408, 52.1325238]
]
],
[
[
[173.6474085, 52.1472948],
[174.8392132, 52.6878183],
[172.1158739, 52.9881155],
[173.132385, 52.2506975],
[173.6474085, 52.1472948]
]
],
[
[
[-146.3855284, 59.1843829],
[-145.9234279, 59.3169728],
[-145.8952803, 59.5345003],
[-146.6535985, 59.6545361],
[-146.3855284, 59.1843829]
]
],
[
[
[-171.2797217, 52.2444061],
[-145.9885379, 60.1761058],
[-130.003485, 56.008075],
[-141.00198, 60.3063692],
[-140.7523256, 69.8283004],
[-156.6515529, 71.581159],
[-169.0485821, 65.4690061],
[-161.2500247, 63.8004626],
[-167.6542464, 59.9434356],
[-158.0753114, 57.7475562],
[-171.2797217, 52.2444061]
],
[
[-153.8125943, 58.0958144],
[-153.5773523, 58.3547948],
[-153.3559904, 58.4231127],
[-153.6200524, 58.260124],
[-153.8125943, 58.0958144]
],
[
[-153.1820044, 58.5355625],
[-153.1751501, 58.5480609],
[-153.1384992, 58.5678286],
[-153.1470249, 58.5552926],
[-153.1820044, 58.5355625]
],
[
[-152.8741566, 58.7660471],
[-152.9882543, 59.4696836],
[-152.1322999, 60.0079718],
[-152.330171, 59.1676267],
[-152.8741566, 58.7660471]
]
],
[
[
[-172.7696055, 59.9963072],
[-171.8272619, 60.3517559],
[-173.4406927, 60.7880772],
[-173.4413238, 60.4223353],
[-172.7696055, 59.9963072]
]
],
[
[
[-169.6463302, 62.736964],
[-168.2509717, 63.332816],
[-172.2753008, 63.6094455],
[-172.0058757, 63.2057208],
[-169.6463302, 62.736964]
]
]
]
properties:
theme: divisions
type: division_area
version: 0
subtype: geographical_region
class: land
is_land: true
is_territorial: true
division_id: example:division:middle_east
names:
primary: Middle East
Loading