File tree 3 files changed +27
-5
lines changed
3 files changed +27
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"type" : " FeatureCollection" ,
3
- "metadata" : {
4
- "felt:id" : " a20e0139-3067-4f73-a50b-20150d284b3a" ,
5
- "felt:version" : 1
6
- },
7
3
"features" : [
8
4
{
9
5
"geometry" : {
11722
11718
"Type" : " Wheel Slot Corral" ,
11723
11719
"Size" : " 6"
11724
11720
}
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
+ }
11725
11741
}
11726
11742
]
11727
11743
}
Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ def create_feature(row: RowData):
113
113
return None
114
114
115
115
properties = {
116
- "felt-clipSource" : {},
117
116
"felt-color" : "#2674BA" ,
118
117
"felt-hasLongDescription" : False ,
119
118
"felt-symbol" : "dot" ,
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments