Modify

Opened 12 months ago

Last modified 12 months ago

#20407 new enhancement

Enable opening of other JOSM supported formats via remote control's import command

Reported by: jose1711 Owned by: team
Priority: normal Milestone:
Component: Core remotecontrol Version:
Keywords: geojson import gpx remote control Cc:

Description

Currently import command described at https://josm.openstreetmap.de/wiki/Help/RemoteControlCommands#import only works for OSM file (or derivates like .osm.gz). I would very much welcome an option to load any JOSM-supported format, e. g. GeoJSON or GPX.

There is also an interesting behaviour with GPX files since the new layer is opened but nothing is loaded from the file.

Attachments (0)

Change History (1)

comment:1 Changed 12 months ago by jose1711

Additional information:

this works: curl http://127.0.0.1:8111/import\?url\=file:///tmp/file.osm
this doesn't: curl http://127.0.0.1:8111/import\?url\=file:///tmp/file.gpx (layer created, nothing loaded)

I know there's open_file command for local files but I still think opening of OSM and GPX (and other format) should be consistent.

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 jose1711
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.