Modify

Opened 11 months ago

#23048 new defect

Opendata plugin shouldn't offer to download geojson

Reported by: Stereo Owned by: Don-vip
Priority: normal Milestone:
Component: Plugin opendata Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. File > Open Location
  2. Paste https://stereo.dev.openstreetmap.org/luxembourg_trp-vc_missing.geojson
  3. Hit "Download URL"

What is the expected result?

Geojson gets handled natively in JOSM

What happens instead?

Dialog offers to “Download GeoJSON” and “Download open data”. Both options do the same thing.

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

Revision:18772
Is-Local-Build:true
Build-Date:2023-07-07 14:19:11

Identification: JOSM/1.5 (18772 SVN en) Mac OS X 13.4.1
OS Build number: macOS 13.4.1 (22F82)
Memory Usage: 3102 MB / 4096 MB (1260 MB allocated, but free)
Java version: 20.0.1+9, Eclipse Adoptium, OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 1 1800×1169 (scaling 2.00×2.00)
Maximum Screen Size: 1800×1169
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_LU
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=18721, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=${HOME}/Documents/code/josm/app/JOSM.app/Contents/MacOS/JOSM]
Dataset consistency test: No problems found

Plugins:
+ CommandLine (36097)
+ Create_grid_of_ways (36066)
+ ImageIO (36093)
+ ImportImagePlugin (36013)
+ ImproveWay (32)
+ Mapillary (2.1.4)
+ OpeningHoursEditor (36079)
+ PicLayer (1.0.2)
+ RelationDissolve (0.2.0)
+ alignways (36097)
+ apache-commons (36034)
+ apache-http (35924)
+ areaselector (1652822522)
+ austriaaddresshelper (master-4e80dc2e4261d321150187f4951684ad97342d5e)
+ auto_tools (81)
+ buildings_tools (36097)
+ changeset-viewer (0.0.6)
+ conflation (0.6.11)
+ continuosDownload (1.3.4)
+ contourmerge (v0.1.9)
+ ejml (35924)
+ geotools (36068)
+ imagery-xml-bounds (36064)
+ jackson (36034)
+ jaxb (35952)
+ jna (36005)
+ jogl (1.2.3)
+ jts (36004)
+ log4j (36045)
+ opendata (36097)
+ pdfimport (36097)
+ poly (36097)
+ public_transport (36097)
+ reltoolbox (36097)
+ reverter (36066)
+ rex (53)
+ shrinkwrap (v1.0.4)
+ splinex (36097)
+ terracer (36079)
+ todo (123)
+ undelete (36066)
+ utilsplugin2 (36097)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/BicycleJunction&preset&zip=1
+ http://osmtools.de/josm/steps.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historic_Stone&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&preset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Golf_Course&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Bus_lanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historical_Objects&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/public_bookcase&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Stolpersteine&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Playground_Equipment&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportGtfs&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Heritage&zip=1
+ https://gitlab.com/k127/josm-presets/raw/master/diplomatic.xml

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Potlatch2&zip=1
+ https://github.com/simon04/coloured-addresses.mapcss/raw/master/dist/coloured-addresses.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Potlach2_access&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1

Validator rules:
+ http://www.openrailwaymap.org/validator/openrailwaymap.validator.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Rules/GermanySpecific&zip=1
+ http://www.openrailwaymap.org/validator/de-openrailwaymap.validator.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Rules/MissingWeekdays&zip=1
+ https://raw.githubusercontent.com/nlehuby/transport_mapcss/master/transport.validator.mapcss
+ https://raw.githubusercontent.com/osmlu/josm-validator-luxembourg/master/Luxembourg-Specific-Rules.validator.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Rules/QAToolInspiredValidations&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/OSMLint&zip=1

Last errors/warnings:
- 31332.976 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.agriculture.RegistreParcellaireHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchFieldError: LOOL
- 31332.977 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.administration.GeoFlaHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchFieldError: LOOL
- 31332.977 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.transport.PassageNiveauHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchFieldError: LOOL
- 31332.977 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.hydrologie.ROEHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchFieldError: LOOL
- 31332.977 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.ecologie.ForetsPubliquesHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchFieldError: LOOL
- 31332.977 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.ecologie.ReservesBiologiquesHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchFieldError: LOOL
- 31332.978 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.hydrologie.EauxDeSurfaceHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchFieldError: LOOL
- 31332.978 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.ecologie.InventaireForestierNationalHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchFieldError: LOOL
- 31332.978 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.transport.AeroportsHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchFieldError: LOOL
- 31332.978 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.transport.Route500Handler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchFieldError: LOOL

Attachments (1)

Screenshot 2023-07-08 at 18.24.46.png (22.1 KB ) - added by Stereo 11 months ago.
Dialog

Download all attachments as: .zip

Change History (1)

by Stereo, 11 months ago

Dialog

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Don-vip.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Don-vip to the specified user.
Next status will be 'needinfo'. The owner will be changed from Don-vip to Stereo.
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 Don-vip 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.