Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- removes adding observation features to plot site
  • Loading branch information
temi committed May 15, 2024
1 parent 5b02542 commit 413ff34
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,6 @@ class ParatooProtocolConfig {
Map geoJson = null
if (usesPlotLayout) {
geoJson = extractSiteDataFromPlotVisit(output)
// get list of all features associated with observation
if (geoJson && form && output) {
List features = extractFeatures(output, form)
if (features) {
features.addAll(geoJson.features?:[])
geoJson = createConvexHullGeoJSON(features, geoJson.properties.name, geoJson.properties.externalId, geoJson.properties.notes)
}
}
}
else if (geometryPath) {
geoJson = extractSiteDataFromPath(output)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,18 +218,6 @@ class ParatooProtocolConfigSpec extends Specification {
]
]
config.getGeoJson(observation, activityForm).features == [
[
type:"Feature",
geometry:[
type:"Point",
coordinates:[149.0651491, -35.2592444]
],
properties:[
name:"Point aParatooForm 2-1",
externalId:37,
id:"aParatooForm 2-1"
]
],
[
type:"Feature",
geometry:[
Expand Down

0 comments on commit 413ff34

Please sign in to comment.