Skip to content

Commit

Permalink
Make some test geojson files easier to inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Aug 4, 2023
1 parent 55402b7 commit 4b9c0ef
Show file tree
Hide file tree
Showing 18 changed files with 564 additions and 1,020 deletions.
50 changes: 4 additions & 46 deletions tests/data/geojson/Feature02-MultiPolygon.json
Original file line number Diff line number Diff line change
@@ -1,57 +1,15 @@
{
"type": "Feature",
"properties": {
"id": "f1",
"name": "first",
"pop": 1234
},
"properties": {"id": "f1", "name": "first", "pop": 1234},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
5.1,
51.22
],
[
5.11,
51.23
],
[
5.14,
51.21
],
[
5.12,
51.2
],
[
5.1,
51.22
]
]
[[5.1, 51.22], [5.11, 51.23], [5.14, 51.21], [5.12, 51.2], [5.1, 51.22]]
],
[
[
[
5.12,
51.23
],
[
5.13,
51.24
],
[
5.14,
51.22
],
[
5.12,
51.23
]
]
[[5.12, 51.23], [5.13, 51.24], [5.14, 51.22], [5.12, 51.23]]
]
]
}
}
}
50 changes: 10 additions & 40 deletions tests/data/geojson/FeatureCollection01.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,11 @@
"type": "Polygon",
"coordinates": [
[
[
4.47,
51.1
],
[
4.52,
51.1
],
[
4.52,
51.15
],
[
4.47,
51.15
],
[
4.47,
51.1
]
[4.47, 51.1],
[4.52, 51.1],
[4.52, 51.15],
[4.47, 51.15],
[4.47, 51.1]
]
]
}
Expand All @@ -39,26 +24,11 @@
"type": "Polygon",
"coordinates": [
[
[
4.45,
51.17
],
[
4.5,
51.17
],
[
4.5,
51.2
],
[
4.45,
51.2
],
[
4.45,
51.17
]
[4.45, 51.17],
[4.5, 51.17],
[4.5, 51.2],
[4.45, 51.2],
[4.45, 51.17]
]
]
}
Expand Down
258 changes: 86 additions & 172 deletions tests/data/geojson/FeatureCollection03.json
Original file line number Diff line number Diff line change
@@ -1,175 +1,89 @@
{
"type": "FeatureCollection",
"name": "2016 narrow TEST Fields Belgium",
"crs": {
"type": "name",
"properties": {
"name": "urn:ogc:def:crs:EPSG::31370"
}
"type": "FeatureCollection",
"name": "2016 narrow TEST Fields Belgium",
"crs": {
"type": "name",
"properties": {"name": "urn:ogc:def:crs:EPSG::31370"}
},
"features": [
{
"type": "Feature",
"properties": {
"fid": 1734,
"CODE_OBJ": "000028025D981557",
"CMP_COD": "2016"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[236946.3, 171498.69],
[236967.97, 171515.54],
[236973.44, 171519.42],
[236980.3, 171524.28],
[236986.37, 171529.15],
[236995.55, 171536.08],
[237042.98, 171457.76],
[237022, 171445],
[237014.5, 171439.75],
[236996, 171428.75],
[236944.82, 171497.48],
[236946.3, 171498.69]
]
]
]
}
},
"features": [
{
"type": "Feature",
"properties": {
"fid": 1734,
"CODE_OBJ": "000028025D981557",
"CMP_COD": "2016"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
236946.3,
171498.69
],
[
236967.97,
171515.54
],
[
236973.44,
171519.42
],
[
236980.3,
171524.28
],
[
236986.37,
171529.15
],
[
236995.55,
171536.08
],
[
237042.98,
171457.76
],
[
237022.0,
171445.0
],
[
237014.5,
171439.75
],
[
236996.0,
171428.75
],
[
236944.82,
171497.48
],
[
236946.3,
171498.69
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"fid": 33591,
"CODE_OBJ": "000028025EF051D8",
"CMP_COD": "2016"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
236497.33,
171983.0
],
[
236738.0,
172064.66
],
[
236751.5,
172027.5
],
[
236507.85,
171945.94
],
[
236506.04,
171952.44
],
[
236503.97,
171959.87
],
[
236500.03,
171973.26
],
[
236498.43,
171978.72
],
[
236497.33,
171983.0
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"fid": 33594,
"CODE_OBJ": "0000280260D5544B",
"CMP_COD": "2016"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
236676.5,
171730.75
],
[
236835.5,
171784.75
],
[
236837.5,
171783.0
],
[
236866.46,
171750.58
],
[
236705.6,
171695.95
],
[
236694.61,
171710.12
],
[
236676.5,
171730.75
]
]
]
]
}
}
]
{
"type": "Feature",
"properties": {
"fid": 33591,
"CODE_OBJ": "000028025EF051D8",
"CMP_COD": "2016"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[236497.33, 171983],
[236738, 172064.66],
[236751.5, 172027.5],
[236507.85, 171945.94],
[236506.04, 171952.44],
[236503.97, 171959.87],
[236500.03, 171973.26],
[236498.43, 171978.72],
[236497.33, 171983]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"fid": 33594,
"CODE_OBJ": "0000280260D5544B",
"CMP_COD": "2016"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[236676.5, 171730.75],
[236835.5, 171784.75],
[236837.5, 171783],
[236866.46, 171750.58],
[236705.6, 171695.95],
[236694.61, 171710.12],
[236676.5, 171730.75]
]
]
]
}
}
]
}
Loading

0 comments on commit 4b9c0ef

Please sign in to comment.