-
Notifications
You must be signed in to change notification settings - Fork 0
Add support for additional geo data types #3
Comments
@danielduhh don't suppose you know where I can get an example of the raw json data coming from ONA that includes Polygon and Polyline geom types? |
@bjohare I haven't seen a Polygon or Polyline type in ONA. It looks like geoshapes and geotraces are supported by xlsform (http://xlsform.org/#question-types). You could author a survey and some test responses in ODK Collect with these data types to see how they're handled in the api/v1/data/{{form_id}} |
@bjohare I'm wondering if the data isn't coming out of ONA incorrectly perhaps? I can walk you through how to add that type of data. You have to use GeoODK instead of ODK to create it. |
@wonderchook thanks, a walkthrough would be good.. @danielduhh thanks for the suggestions. |
@bjohare anytime! |
@wonderchook don't worry.. think I have it! Will let you know if I need a few pointers.. |
Fix for #3 Add support for additional geom data types. Looks fine! The only thing I was wondering about was the polygon closure test (textually identical coordinate strings, i.e. with no tolerance in the testing), but that appears to be exactly what's required by the GeoJSON standard.
Currently when collecting data from GeoODK to ONA to Cadasta only point data is accepted. It is hard-coded that way currently. Polygons and polylines should also be accepted.
The text was updated successfully, but these errors were encountered: