Skip to content

Commit f82b751

Browse files
committed
Sync
1 parent 64fa5f4 commit f82b751

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

data.geojson

+20-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{
22
"type": "FeatureCollection",
3-
"metadata": {
4-
"felt:id": "a20e0139-3067-4f73-a50b-20150d284b3a",
5-
"felt:version": 1
6-
},
73
"features": [
84
{
95
"geometry": {
@@ -11722,6 +11718,26 @@
1172211718
"Type": "Wheel Slot Corral",
1172311719
"Size": "6"
1172411720
}
11721+
},
11722+
{
11723+
"type": "Feature",
11724+
"geometry": {
11725+
"type": "Point",
11726+
"coordinates": [
11727+
-63.569845,
11728+
44.66450833333333
11729+
]
11730+
},
11731+
"properties": {
11732+
"felt-clipSource": {},
11733+
"felt-color": "#2674BA",
11734+
"felt-hasLongDescription": false,
11735+
"felt-symbol": "dot",
11736+
"felt-type": "Place",
11737+
"felt-widthScale": 1,
11738+
"Type": "Ring Corral",
11739+
"Size": "5"
11740+
}
1172511741
}
1172611742
]
1172711743
}

dogsheep/fetch.py

-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ def create_feature(row: RowData):
113113
return None
114114

115115
properties = {
116-
"felt-clipSource": {},
117116
"felt-color": "#2674BA",
118117
"felt-hasLongDescription": False,
119118
"felt-symbol": "dot",

merge.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
# Take partial and merge it with existing data.geojson, creating a merged.geojson
6+
# Once validated, can move into data.geojson
7+
jq -s '{type: "FeatureCollection", features: (.[0].features + .[1].features)}' data.geojson partial.geojson > merged.geojson

0 commit comments

Comments
 (0)