Browse Source

Correct build task name

master
Starbeamrainbowlabs 2 years ago
parent
commit
d582265ef4
  1. 1
      .gitignore
  2. 2
      build

1
.gitignore

@ -1,3 +1,4 @@
*.TSV
*.txt
example-message.json
*.sqlite

2
build

@ -201,7 +201,7 @@ task_dev-server-stop() {
task_end $?;
}
task_geojson() {
task_geojson-debug() {
sqlite3 lorawan.sqlite 'SELECT readings.latitude, readings.longitude, rssis.rssi FROM readings LEFT JOIN rssis ON readings.id = rssis.reading_id ORDER BY readings.latitude,readings.longitude;' | perl -pe 'chomp if eof' | jq --raw-input --slurp 'split("\n") | map(split("|") | map(if . == "" then null else tonumber end)) | map({type: "Feature", geometry: { type: "Point", "coordinates": [ .[1], .[0] ] }, properties: { "rssi": .[2], "marker-color": (if .[2] == null then "#dd0707" else "#04a104" end), "marker-symbol": "circle" }}) | { type: "FeatureCollection", features: . }'
}

Loading…
Cancel
Save