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
For authenticated users with the "editor" role on a Pleiades location object, add a "reimport from OSM" affordance (either as a button or an actions menu option, perhaps). When activated, this affordance does the following:
Check to see if the referenced OSM object still exists.
If the referenced OSM object has been deleted, report this error to the user and do nothing further
If the referenced OSM object does exist, use the OSM API to get the latest information about the object (there may be a newer revision at OSM than the one originally used in Pleiades -- use the most recent at OSM). Repopulate the following fields on the Pleiades location object, using corresponding data from the OSM object:
write the OSM geometry as a GeoJSON fragment to the "coordinates" field (i.e., the same format we use on initial import)
Also, I did a fair amount of refactoring since the creation and updating of Locations shares a lot in common. This means creation should also be tested to make sure I didn't break that.
For authenticated users with the "editor" role on a Pleiades
location
object, add a "reimport from OSM" affordance (either as a button or an actions menu option, perhaps). When activated, this affordance does the following:location
object, using corresponding data from the OSM object:The text was updated successfully, but these errors were encountered: