Opened 3 years ago
Last modified 2 years ago
#22259 new defect
Opening a geo: URI schema in JOSM does nothing
Reported by: | TrickyFoxy | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Click on the link [geo:37.786971,-122.399677] in browser (in my case Firefox 104) The clickable version can be found in this article https://en.wikipedia.org/wiki/Geo_URI_scheme
- Select JOSM as the application to open the link.
- If JOSM is running, the focus will switch to the window with it.
- If you have Go Map!! installed, then it will open next
What is the expected result?
It seems JOSM should have moved the map to the location with the coordinates specified in the link.
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
Revision:18529 Is-Local-Build:true Build-Date:2022-07-27 17:49:19 Identification: JOSM/1.5 (18529 SVN ru) Mac OS X 11.6.7 OS Build number: macOS 11.6.7 (20G630) Memory Usage: 524 MB / 2048 MB (329 MB allocated, but free) Java version: 19-ea+30, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: Display 69732352 1440×900 (scaling 2.00×2.00) Maximum Screen Size: 1440×900 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: ru_RU Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=18529, --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=/Applications/JOSM.app/Contents/MacOS/JOSM] Plugins: + BuildingGeneralization (36) + ColorPlugin (1537115529) + CommandLine (35978) + Create_grid_of_ways (35976) + CustomizePublicTransportStop (35976) + DirectDownload (35982) + EasyPresets (1623509627) + ElevationProfile (35978) + FastDraw (35978) + FixAddresses (35978) + HouseNumberTaggingTool (35951) + ImproveOsm (215) + ImproveWay (32) + MakeParallel (v1.1.0) + Mapillary (2.0.0-beta.15) + OpeningHoursEditor (35924) + PicLayer (1.0.2) + PolygonCutOut (v0.7) + Relation.Validation.Plugin (1.0.1) + RelationDissolve (0.2.0) + Review.Changes (1.0.5) + RovasConnector (0.1.0) + ShapeTools (1250) + SimplifyArea (35978) + alignways (35951) + apache-commons (36003) + apache-http (35924) + buildings_tools (35997) + centernode (v1.0.4) + changeset-viewer (v0.0.4) + comfort0 (35976) + conflation (0.6.9) + continuosDownload (99) + contourmerge (v0.1.9) + editgpx (35931) + ejml (35924) + ext_tools (35893) + fieldpapers (v0.5.0) + flatlaf (35862) + geochat (35978) + graphview (35976) + gridify (1606242219) + highwayNameModification (0.0.9) + jaxb (35952) + jna (36005) + jogl (1.2.3) + jts (36004) + junctionchecking (35893) + log4j (36007) + markseen (14) + measurement (35978) + merge-overlap (35893) + openvisible (35893) + osmwiki-dataitem (1.2.3) + photoadjust (35893) + print (35893) + rasterfilters (1.0.3) + reltoolbox (35976) + reverter (35999) + russia-address-helper (0.8.0) + scripting (v0.2.6) + splinex (35936) + tageditor (35893) + terracer (35978) + turnlanes (35978) + turnlanes-tagging (v0.0.5) + turnrestrictions (36009) + undelete (35893) + utilsplugin2 (36001) + waydownloader (35976) + wikipedia (605) Tagging presets: + https://raw.githubusercontent.com/ruosm-presets/literan-moscow/master/russian_shops.xml + https://josm.openstreetmap.de/josmfile?page=Presets/StreetCabinet&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Playground_Equipment&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Quick-stops&zip=1 + https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/RU.zip + https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1 + <josm.userdata>/EasyPresets.xml + https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/WifiHotspots&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Manholes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/MappingAccessibility&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Maxspeed-zones&zip=1 Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1 + ${HOME}/JOSM/presets/style-power-voltage-color.mapcss - ${HOME}/JOSM/presets/style-power-tower-solid/power-tower-solid.mapcss + https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Lit&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Power&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/PowerMapping&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/NewHighwayColors&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1 - https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip - https://raw.githubusercontent.com/yopaseopor/indoormap/master/indoormap-style.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/NewParkingFeatures&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1 Validator rules: + https://josm.openstreetmap.de/josmfile?page=Rules/KeepRight&zip=1 + https://raw.githubusercontent.com/zetx16/Josm-HnumbValidator/master/ru-housenumber.validator.mapcss Last errors/warnings: - 00027.457 E: Не удалось найти изображение «pics/icons/Russian_Post.svg» - 00027.458 W: [NODE, CLOSEDWAY, MULTIPOLYGON] Russian Post: Could not get presets icon pics/icons/Russian_Post.svg - 00028.302 E: Не удалось найти изображение «https://image.flaticon.com/icons/png/512/47/47421.png» - 00028.319 W: [NODE, CLOSEDWAY, MULTIPOLYGON] Clothes dryer: Could not get presets icon https://image.flaticon.com/icons/png/512/47/47421.png
Attachments (0)
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 2 years ago
I just tried this and for me it always opens a new josm instance and downloads + zooms to the location given in the geo: link
Replying to taylor.smock:
I don't believe we currently register (or can register) for URIs. You can open the URI by copying the link, then using the Open Location action.
For me, JOSM is presented as an option to open the link with (firefox on debian)
I don't believe we currently register (or can register) for URIs. You can open the URI by copying the link, then using the Open Location action.