Skip to content

Commit

Permalink
Fix mistake for gitignore re: changed filenames in the digitization d…
Browse files Browse the repository at this point in the history
…emo.
  • Loading branch information
jranalli committed May 15, 2024
1 parent c040287 commit b101f94
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ dmypy.json
/demos/data/*

# but inlcude the sample plant geojson file
!/demos/data/digitized_plant*.geojson
!/demos/data/digitized_plant*.*

# IDE Files
.idea*
Expand Down
17 changes: 17 additions & 0 deletions demos/data/digitized_plant.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "FeatureCollection",
"name": "sample_plant",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-01" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -83.673025205823308, 33.680229416591168 ], [ -83.673025205823308, 33.680069896249719 ], [ -83.673667392351959, 33.68007189025581 ], [ -83.673664996133596, 33.680109776362826 ], [ -83.673449336478427, 33.680113764373111 ], [ -83.673449336478427, 33.680231410593564 ], [ -83.673025205823308, 33.680229416591168 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-02" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -83.672821527260098, 33.680055938205761 ], [ -83.672821527260098, 33.679776776850709 ], [ -83.674093919225484, 33.679780764876455 ], [ -83.674091523007064, 33.679938291745209 ], [ -83.673875863351924, 33.679940285754356 ], [ -83.673875863351924, 33.680055938205761 ], [ -83.672821527260098, 33.680055938205761 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-03" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -83.672608263823363, 33.679752848692395 ], [ -83.672608263823363, 33.679477674393034 ], [ -83.674089126788701, 33.679477674393034 ], [ -83.674089126788701, 33.679752848692395 ], [ -83.672608263823363, 33.679752848692395 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-04" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -83.672404585260153, 33.679457734192198 ], [ -83.672404585260153, 33.679178570894834 ], [ -83.674086730570309, 33.679178570894834 ], [ -83.674086730570309, 33.67946172223273 ], [ -83.672404585260153, 33.679457734192198 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-05" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -83.672196114260217, 33.679160624651843 ], [ -83.672196114260217, 33.679001102327376 ], [ -83.674084334351946, 33.679001102327376 ], [ -83.674084334351946, 33.67916261867903 ], [ -83.672196114260217, 33.679160624651843 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-06" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -83.672199708587812, 33.678976176937439 ], [ -83.672199708587812, 33.678825627428608 ], [ -83.674077145696771, 33.678825627428608 ], [ -83.674077145696771, 33.678983156047359 ], [ -83.672199708587812, 33.678976176937439 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-07" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -83.671980454605091, 33.678799704970025 ], [ -83.671980454605091, 33.678592325019991 ], [ -83.674089126788715, 33.678592325019991 ], [ -83.674089126788715, 33.678803693041097 ], [ -83.671980454605091, 33.678799704970025 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-08" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -83.671771983605112, 33.678568396532036 ], [ -83.671771983605112, 33.678408873108779 ], [ -83.674091523007107, 33.678408873108779 ], [ -83.674091523007107, 33.678571387593394 ], [ -83.671771983605112, 33.678568396532036 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-09" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -83.671771983605069, 33.678376968388598 ], [ -83.671771983605069, 33.678230405928218 ], [ -83.674098711662268, 33.678230405928218 ], [ -83.674098711662268, 33.678396908840099 ], [ -83.671771983605069, 33.678376968388598 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-10" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -83.671555125840754, 33.678219438659241 ], [ -83.671555125840754, 33.678047950271342 ], [ -83.67409032489789, 33.678047950271342 ], [ -83.67409032489789, 33.678216821469839 ], [ -83.671555125840754, 33.678219438659241 ] ] ] ] } }
]
}
11 changes: 11 additions & 0 deletions demos/data/digitized_plant_centroids.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
asset_name,E,N
CMB-001-01,76.50439339352886,232.4625409910081
CMB-001-02,63.430048855892466,206.6576786329951
CMB-001-03,69.54915047353538,173.84132544336165
CMB-001-04,78.91971734693506,140.9979925797982
CMB-001-05,88.69999446040173,114.62343072114969
CMB-001-06,88.39076881801633,94.80230598703163
CMB-001-07,98.34825037424017,71.99306524359586
CMB-001-08,107.88070481821165,48.963631280314324
CMB-001-09,105.59013338994684,28.931320169791586
CMB-001-10,118.62575746712822,9.439519127662802
Binary file added demos/data/digitized_plant_centroids.h5
Binary file not shown.
15 changes: 15 additions & 0 deletions demos/data/digitized_plant_meters.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"type": "FeatureCollection",
"features": [
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-01" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 99.545680128061662, 241.961353002342094 ], [ 99.545863964293886, 224.267895565563975 ], [ 39.996105137144333, 224.488630328934789 ], [ 40.218288078217896, 228.690830235072212 ], [ 60.216329095194929, 229.133271679172282 ], [ 60.216247081768252, 242.182193106656285 ], [ 99.545680128061662, 241.961353002342094 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-02" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 118.432933184538442, 222.719931349530469 ], [ 118.433315937651514, 191.75629798607477 ], [ 0.444402669322856, 192.197904328330935 ], [ 0.666602788327288, 209.670251699193869 ], [ 20.664685807738191, 209.891442712679122 ], [ 20.664658139853401, 222.719221649329427 ], [ 118.432933184538442, 222.719931349530469 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-03" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 138.209273765432698, 189.102532519951524 ], [ 138.209714049278546, 158.581131379932913 ], [ 0.888808453751342, 158.580134571181844 ], [ 0.888805622345575, 189.101535712310096 ], [ 138.209273765432698, 189.102532519951524 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-04" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 157.096929886255026, 156.369722969947162 ], [ 157.097437588834566, 125.405877174854567 ], [ 1.111014412733015, 125.40458932229383 ], [ 1.111010770886167, 156.810775052905512 ], [ 157.096929886255026, 156.369722969947162 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-05" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 176.429124970706255, 123.415677309788336 ], [ 176.429450786479947, 105.72200298949933 ], [ 1.333220031965167, 105.720378690953908 ], [ 1.33321753912263, 123.635223737732744 ], [ 176.429124970706255, 123.415677309788336 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-06" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 176.096196591150289, 102.957357321518217 ], [ 176.096503497951034, 86.258917717529386 ], [ 1.99983411038095, 86.257299665775221 ], [ 1.999830463426523, 103.729838421528029 ], [ 176.096196591150289, 102.957357321518217 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-07" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 196.428209216412682, 83.384082049385214 ], [ 196.428680787722271, 60.38220391250983 ], [ 0.888817562276747, 60.380190439994962 ], [ 0.888815387441941, 83.824411853138344 ], [ 196.428209216412682, 83.384082049385214 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-08" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 215.760522484597374, 57.728553357995708 ], [ 215.760920929485451, 40.034758863547083 ], [ 0.666614587396089, 40.032329544056402 ], [ 0.666613333279225, 58.057882378197434 ], [ 215.760522484597374, 57.728553357995708 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-09" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 215.761000623869592, 36.495996078822756 ], [ 215.761366693818843, 20.239787904754326 ], [ 0.000000002359505, 20.237358561035865 ], [ 0.000000002359501, 38.705293627470105 ], [ 215.761000623869592, 36.495996078822756 ] ] ] ] } },
{ "type": "Feature", "properties": { "id": null, "asset_type": "combiner", "asset_name": "CMB-001-10" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 235.870978184138409, 19.023809801736316 ], [ 235.871446433731194, 0.002903297413217 ], [ 0.777720270530674, 0.000000036652085 ], [ 0.777718750054046, 18.730616826334078 ], [ 235.870978184138409, 19.023809801736316 ] ] ] ] } }
]
}

0 comments on commit b101f94

Please sign in to comment.