You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: xeen [Submitted to the original trac issue database at 6.24pm, Sunday, 30th August 2009]
It seems the API has changed for GPX uploads. I found that all GPX uploads became public even though "public=0" was specified correctly when uploading. I've had a look at the normal GPX upload (http://www.openstreetmap.org/traces/mine) and it seems the API has changed and now uses "visiblity" instead of "public". I modified the DirectUpload plugin for JOSM and it seems to work again.
I've updated the documention for the 0.6 API to reflect this, but I'd be happy if an API hacker could confirm this and possibly correct my assumptions:
Maybe the API should return an error if the "public" field is still used or at least default all traces without specified visibility to "private" in order to protect the user's privacy (or match public=0|1 to the most fitting visibility)
The text was updated successfully, but these errors were encountered:
Author: tom[at]compton.nu [Added to the original trac issue at 2.49pm, Monday, 31st August 2009]
Actually I see what you mean, so it is correct to update the documentation though we should still respect the old public attribute if visibility is not specified.
Reporter: xeen
[Submitted to the original trac issue database at 6.24pm, Sunday, 30th August 2009]
It seems the API has changed for GPX uploads. I found that all GPX uploads became public even though "public=0" was specified correctly when uploading. I've had a look at the normal GPX upload (http://www.openstreetmap.org/traces/mine) and it seems the API has changed and now uses "visiblity" instead of "public". I modified the DirectUpload plugin for JOSM and it seems to work again.
I've updated the documention for the 0.6 API to reflect this, but I'd be happy if an API hacker could confirm this and possibly correct my assumptions:
http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6#Uploading_Traces
Maybe the API should return an error if the "public" field is still used or at least default all traces without specified visibility to "private" in order to protect the user's privacy (or match public=0|1 to the most fitting visibility)
The text was updated successfully, but these errors were encountered: