Modify

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?

Attachments (0)

Change History (0)

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 francois.lacombe.
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.