Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#19112 closed defect (fixed)

OSM object type translated in Overpass query

Reported by: gaben Owned by: simon04
Priority: normal Milestone: 20.05
Component: Core Version: latest
Keywords: overpass Cc:

Description (last modified by gaben)

What steps will reproduce the problem?

  1. Use other than English locale in JOSM
  2. Make an Overpass query with the wizard with eg. type:way and [query here]
  3. Check the wizard output

What is the expected result?

Object types {node|way|relation} remains untranslated.

What happens instead?

They got translated to the current locale. Eg. in Hungarian locale 'way' became 'vonal'.

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-04-17 21:45:35 +0200 (Fri, 17 Apr 2020)
Build-Date:2020-04-18 01:30:45
Revision:16330
Relative:URL: ^/trunk

Identification: JOSM/1.5 (16330 hu) Windows 10 64-Bit
OS Build number: Windows 10 Pro for Workstations 1909 (18363)
Memory Usage: 935 MB / 1820 MB (659 MB allocated, but free)
Java version: 1.8.0_241-b07, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1200
Maximum Screen Size: 1920x1200
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\31\583aa85f-404a7071, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Djnlpx.splashport=56565, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm-latest.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe]

Plugins:
+ OpeningHoursEditor (35414)
+ apache-commons (35362)
+ continuosDownload (91)
+ ejml (35313)
+ geotools (35169)
+ jaxb (35092)
+ jts (35122)
+ opendata (35405)
+ reverter (35409)
+ tageditor (35258)
+ turnlanes-tagging (283)
+ utilsplugin2 (35405)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface-DataEntry&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1

Last errors/warnings:
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 4: parse error: Unknown type &quot;vonal&quot;>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>
- E: Hibás kérés - <html>A(z) 'overpass-api.de' OSM szerver hibás kérést jelentett.<br><br>Hibaüzenet (fordítatlan): line 4: parse error: Unknown type &quot;vonal&quot; </html>

Attachments (0)

Change History (6)

comment:1 by gaben, 5 years ago

Description: modified (diff)

comment:2 by simon04, 5 years ago

Keywords: overpass added
Milestone: 20.04
Owner: changed from team to simon04
Status: newassigned

comment:3 by simon04, 5 years ago

Resolution: fixed
Status: assignedclosed

In 16336/josm:

fix #19112, see #18164 - OverpassTurboQueryWizard: use OsmPrimitiveType.getAPIName

comment:4 by simon04, 5 years ago

Thanks for reporting this issue!

comment:5 by gaben, 5 years ago

I should be thanking you for the quick fix! :)

comment:6 by Klumbumbus, 5 years ago

Milestone: 20.0420.05

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.