Modify

Opened 20 months ago

Last modified 13 months 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 Changed 20 months ago by skyper

Description: modified (diff)

comment:2 Changed 20 months ago by Don-vip

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

comment:3 in reply to:  2 Changed 20 months ago by skyper

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 Changed 20 months ago by Don-vip

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

comment:5 in reply to:  4 Changed 20 months ago by skyper

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 Changed 20 months ago by stoecker

If you append /full you also download the nodes.

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

Last edited 20 months ago by stoecker (previous) (diff)

comment:7 Changed 20 months ago by skyper

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 20 months ago by skyper (previous) (diff)

comment:8 Changed 13 months ago by GerdP

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.
to The owner will be changed from team to the specified user.
The owner will change to skyper
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.