Opened 2 months ago
#24559 new defect
JOSM Remote control Import won't use the layer_name for DownloadGeoJsonTask
| Reported by: | francois.lacombe | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core remotecontrol | Version: | |
| Keywords: | remote, import, geojson, layer_name | Cc: |
Description
Dear maintainers,
Following #11000, it looks like strategy with remote control imports was to take care of layer_name defined in the URL.
Currently, download tasks matching DownloadGeoJsonTask will only use the URL last part to build the layer name as defined in https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadGeoJsonTask.java#L58
Would you confirm my diagnosis this method should take care of settings.layer_name prior to fallback on URL file name when missing?
Would it worth the effort to use the same strategy on every DownloadTasks?


