Modify

Opened 9 years ago

Closed 6 years ago

Last modified 6 years ago

#11000 closed enhancement (fixed)

JOSM Remote control Import, couldn't it also take a hint for the new layer's name?

Reported by: Polyglot Owned by: team
Priority: normal Milestone: 18.06
Component: Core remotecontrol Version:
Keywords: import layer_name changeset_comment changeset_source search Cc:

Description

When I'd choose load_data or load_and_zoom, I get to propose a layer name, but with import I can't. I'm preparing a report to be posted as a wiki page for 1900 bus lines, it seems more efficient to be able to point to a zip file I posted elsewhere, than to include the data on the wiki, over and over again. (Of course, what I really need is a server to distribute data more dynamically, but I don't happen to have one, so I have to make do with a more kludgy solution atm)

changeset_comment and changeset_source also seem interesting.

What would be truly grand, is if it were possible to have the import being followed by an Overpass query as well... but that functionality isn't coded yet. At the moment I scripted it. But that script needs to be run twice now. Once to perform the download and again to do the actual work. I can't use load_and_zoom to download an entire bbox. Some of these bus lines have long trajectories, some of them even 100km across the country, so it's important to be more specific.

I'm pretty sure I could find a use for search (not for the project I'm currently working on though)

Attachments (0)

Change History (10)

comment:1 by Polyglot, 9 years ago

I spoke before my turn again, when choosing new_layer=true, it uses the file name of the zip file. That's nice, but when I try to save, it doesn't propose a file name. It would be nice if the name minus .zip would be proposed.

comment:2 by simon04, 9 years ago

In 8221/josm:

see #11000 - Remote control: allow to specify layer_name for load_and_zoom, load_object

comment:3 by Don-vip, 6 years ago

Milestone: 18.06

comment:4 by Don-vip, 6 years ago

In 13927/josm:

see #11000 - Remote control: allow to specify layer_name for import

comment:5 by Don-vip, 6 years ago

In 13928/josm:

see #11000 - support layer_name in the general case

comment:6 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 13929/josm:

fix #11000 - add layer_locked, download_policy, upload_policy to download handlers (import, load_data, load_object and load_and_zoom). Bump remote control version to 1.8

comment:7 by Don-vip, 6 years ago

Documentation updated.

comment:8 by Don-vip, 6 years ago

In 13932/josm:

see #11000 - restore old (deprecated) method signatures to avoid plugins breakage

comment:9 by Don-vip, 6 years ago

In 13933/josm:

see #11000 - restore old (deprecated) constructors to avoid plugins breakage

comment:10 by Don-vip, 6 years ago

In 13935/josm:

see #11000 - fix NPE

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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