Modify

Opened 5 years ago

Last modified 4 years ago

#17878 new defect

Cannot download full old version of an OSM object

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report download api Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. start program with option https://api.openstreetmap.org/api/0.6/way/[id]/[version] or https://www.openstreetmap.org/api/0.6/way/[id]/[version]

or

  1. use the "open location" command with above urls

What is the expected result?

(The mentioned version of) the way is downloaded, with its child nodes and rendered.

What happens instead?

The way is downloaded, with its child nodes and nothing is rendered nor selectable.
If you update data the data is rendered but always the last version.


What steps will reproduce the problem?

  1. Open download dialog and choose bbox tab
  2. paste/enter api url from above

What is the expected result?

(The mentioned version of) the way is downloaded, with its child nodes and rendered.

What happens instead?

Some nearby bbox is completely downloaded.

Please provide any additional information below. Attach a screenshot if possible.

api.osm or www.osm does not matter.
Both did work in previous versions (see #8946) but I did not use it lately.
Was a nice feature to look at older versions.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-07-03 23:41:23 +0200 (Wed, 03 Jul 2019)
Build-Date:2019-07-04 01:30:58
Revision:15203
Relative:URL: ^/trunk

Program arguments: [https://www.openstreetmap.org/api/0.6/way/4537948]

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.

Attachments (0)

Change History (8)

comment:1 by skyper, 5 years ago

Description: modified (diff)

comment:2 by Don-vip, 5 years ago

Summary: Downloads from api not proper working/impossible anymore.Cannot download full old version of an OSM object

in reply to:  2 comment:3 by skyper, 5 years ago

Replying to Don-vip:

Full old version was never supported but would be a feature (needs at least undelete plugin.)

What was working, though, was to directly download objects from api. See wiki:Help/Action/OpenLocation#OSMdata

comment:4 by Don-vip, 5 years ago

It still works. But when you download a way like this you don't get its nodes.

in reply to:  4 comment:5 by skyper, 5 years ago

Replying to Don-vip:

It still works. But when you download a way like this you don't get its nodes.

with https://www.openstreetmap.org/api/0.6/way/4537948
Info on the layer panes tells me one way and two nodes and there is no data inconsistency. I cannot select anything though. At least the Info is wrong as I have not downloaded the nodes.

comment:6 by stoecker, 5 years ago

If you append /full you also download the nodes.

Thought it seems API does not support /full combined with an old version.

Last edited 5 years ago by stoecker (previous) (diff)

comment:7 by skyper, 5 years ago

Thought not rendering incomplete ways (and deleted objects) at all was a good idea, years ago, but now I find some problems:

  • see #17916 for deleted objects
  • see #17917 for incorrect data layer info (which did irritate me the most with this ticket).
  • see #17919 incomplete ways are not selectable.
  • this ticket as it is only a problem with ways. Everything seems to work fine with nodes and relations.
Last edited 5 years ago by skyper (previous) (diff)

comment:8 by GerdP, 4 years ago

Maybe this helps? The overpass api allows to download "attic" data, see https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#date

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to skyper.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.