-
Notifications
You must be signed in to change notification settings - Fork 13
How to map data to clowder geostreams API / PostGIS Schema #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
It is a one to many. How is the progress, did you manage to get datapoints into the server? |
@robkooper I have problems when creating the sensor. I tried two ways.
Any suggestions? |
Another question is how to insert a polygon into the geometry? |
@caicai89- I am not familiar with the geostreams API but geojson (and PostGIS) require the first point to be repeated at the end, e.g. I think we also need to define and specify the site-specific coordinate reference system (terraref/reference-data#32) Here is the geojson specifications: http://geojson.org/geojson-spec.html |
@dlebauer You are right, for polygon in GeoJSON, the first and the end points should be the same. However, for the PostGIS, it seems do not have the requirement. |
From emails between @caicai89- @robkooper and myself: Yaping getting errors about datapoints.created column missing in PostGIS database. Appears the SQL that was executed does not create this column. Brock suggests running with update flag: Not sure where this is handled in a service context like we have on Clowder dev. Yaping was able to create stream and sensor with no issues. |
Based on recent discussions:
|
Description
We need to map relevant information to the Clowder PostGIS database.
#101 is the first step - mapping field of view to the datapoint table in the Clowder PostGIS database.
Here we need to determine additional information that we want to store in the Geostreams API.
Context
The role of Clowder is to store data related to the field scanner operations and sensor box, including bounding box of each image / dataset (#101) as well as location of the sensor, data types and processing level, scanner missions.
By contrast, BETYdb will be the primary place to store plots and other regions of interest (e.g. fields, rows, plants) that are associated with agronomic experimental design / meta-data (what was planted where, field boundaries, treatments, etc).
It is okay if there we need to mirror data across the databases (store identical information in different schemas) e.g. to improve performance / usability, as long as it is clear where the canonical information is stored.
Further Suggestions / Request for Feedback
terraref_KSU_uas_htp_data_management_ 20160330.pdf
The text was updated successfully, but these errors were encountered: