-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
363 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.idea/* | ||
/nbproject/private/ | ||
/nbproject/* | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule client_helpers
updated
8 files
+7 −2 | data_entry_helper.php | |
+7 −7 | helper_base.php | |
+4 −1 | map_helper.php | |
+10 −7 | prebuilt_forms/dynamic_sample_occurrence.php | |
+3 −0 | prebuilt_forms/includes/dynamic.php | |
+28 −32 | prebuilt_forms/js/verification_5.js | |
+15 −6 | prebuilt_forms/record_details_2.php | |
+4 −4 | prebuilt_forms/verification_5.php |
Submodule media
updated
2 files
+27 −17 | js/jquery.autocomplete.js | |
+141 −129 | js/jquery.indiciaMapPanel.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
modules/cache_builder/db/version_1_37_0/201707190840_output_sref_system.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE cache_occurrences_nonfunctional ADD COLUMN output_sref_system character varying; |
13 changes: 13 additions & 0 deletions
13
modules/cache_builder/db/version_1_37_0/201707190841_output_sref_system_data.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-- #slow script# | ||
|
||
UPDATE cache_occurrences_nonfunctional onf | ||
SET output_sref_system=get_output_system( | ||
reduce_precision(coalesce(s.geom, l.centroid_geom), o.confidential, greatest(o.sensitivity_precision, s.privacy_precision), | ||
case when s.entered_sref_system is null then l.centroid_sref_system else s.entered_sref_system end), | ||
case when s.entered_sref_system is null then l.centroid_sref_system else s.entered_sref_system end, | ||
'4326' | ||
) | ||
FROM occurrences o | ||
JOIN samples s ON s.id=o.sample_id AND s.deleted=false | ||
LEFT JOIN locations l ON l.id=s.location_id AND l.deleted=false | ||
WHERE onf.id=o.id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.