Modify ↓
Opened 4 years ago
Last modified 4 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)
Note:
See TracTickets
for help on using tickets.
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.