Modify

Opened 3 years ago

Last modified 3 years 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 by jose1711, 3 years ago

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