-
Notifications
You must be signed in to change notification settings - Fork 20
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
Upload field note file via OKAPI #601
Comments
Hey @Lineflyer, can you provide me an file for this use case? I can try to implement it :-) Greetings, |
BTW, could you remind me what's the difference between field notes and personal notes? (I'm not an active geocacher nowadays.) |
Field Notes are notes about caches created with your GPS Device or an app like c:geo. So you can prepare your Log Notes and submit them finally later. |
Attached a sample field note from c:geo containing offline logs for both gc.com and oc.de caches. |
I plan to implement that service method shortly ... in a way that is compaitble with what "the other platform" does. Specificly it will be tolerant to filter OC logs and discard "the other logs", just like the other platform does with OC logs. Also, if you (@Lineflyer) are reading this: There is another important function missing, which cgeo wants to use: |
@Lineflyer, pls review PR #630 to see whether this would work for cgeo. The assumption is that cgep maintains one hybrid filednotes file, which may include log records for more than one platform. My PR will ignore records not starting with For instance, what is a Also, keep in mind, no UTF-16, and keep in mind the base64 encoding. And last not least: OKAPI equally supports GET and POST requests, however, since fieldnotes files can get rather large, a GET may fail due to length restrictions of URLs. My recommendation for using the service in question would be to use POST requests and put the payload into the request body. I can make sample client code available for the cgeo team. |
@hxdimpf Thanks for diving in this problem. The discussion to UTF-8 vs. UTF16-LE with BOM is in issue cgeo/cgeo#10044. I believe that using UTF-8 for OKAPI fieldnotes would be fine. Please open a issue on c:geo site to discuss the implementation there. |
For c:geo we recently had a discussion about field note upload for other sites than geocaching.com.
From OC.de I know that field notes (also including duplicate handling with GC geocodes) is already implemented on their website.
For c:geo it would just be perfect if there is a possibility to upload field notes via OKAPI.
I looked over here and other places but could not find a related issue for OKAPI. I hope this is the right place to discuss/address it.
The text was updated successfully, but these errors were encountered: