Modify ↓
Opened 5 years ago
Closed 5 years ago
#18475 closed defect (fixed)
Error on remote URL open when no extension provided into URL
Reported by: | orhygine | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | 19.12 |
Component: | Core geojson | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Clic on "Open a location (CTRL+L)" into file menu
- Paste "https://nominatim.openstreetmap.org/search?city=toulouse&format=geojson&polygon_geojson=1&limit=1"
- Validate
What is the expected result?
A GeoJSON, response of nominatim API, should be open.
What happens instead?
An error occurs with message "Unable to open URL".
Please provide any additional information below. Attach a screenshot if possible.
As a workaround, it is possible to add a fake GeoJSON extension eg "https://nominatim.openstreetmap.org/search?city=toulouse&format=geojson&polygon_geojson=1&limit=1&.geojson" and data is successfully loaded.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2019-12-27 00:14:21 +0100 (Fri, 27 Dec 2019) Revision:15620 Build-Date:2019-12-27 02:30:57 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (15620 fr) Linux Ubuntu 19.04 Memory Usage: 675 MB / 2048 MB (453 MB allocated, but free) Java version: 11.0.4+11-post-Ubuntu-1ubuntu219.04, Ubuntu, OpenJDK 64-Bit Server VM Screen: :0.0 1366x768 Maximum Screen Size: 1366x768 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-21 fonts-noto: fonts-noto:- Plugins: + ImproveWay (29) + Mapillary (1.5.20) + OpeningHoursEditor (35250) + PolygonCutOut (v0.7) + apache-commons (35092) + apache-http (35092) + buildings_tools (35248) + cadastre-fr (35248) + changeset-viewer (22) + continuosDownload (82) + ejml (35122) + geochat (35248) + geotools (35169) + gridify (1577091848) + jaxb (35092) + jna (35092) + jts (35122) + measurement (35248) + opendata (35248) + reverter (35248) + todo (30306) + utilsplugin2 (35248) + wikipedia (1.1.3) Map paint styles: + ${HOME}/osm/work.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools. - E: Emplacement du téléchargement - <html><p>Impossible d'ouvrir l'URL 'https://nominatim.openstreetmap.org/search?city=toulouse&format=geojson&polygon_geojson=1&limit=1'<br>Les tâches de téléchargement acceptent les modèles d'URL suivants:<br><table><tr><td>Télécharger OSM:</td><td><ul><li>https?://.*/api/0.6/(map|nodes?|ways?|relations?|\*).*</li><li>https?://.*/interpreter\?data=.*</li><li>https?://.*/xapi(\?.*\[@meta\]|_meta\?).*</li><li>https?://.*/.*\.osm</li></ul></td></tr><tr><td>Téléchargement GPS:</td><td><ul><li>https?://.*(osm|openstreetmap).org/trace/\p{Digit}+/data</li><li>https?://.*(osm|openstreetmap).org/user/[^/]+/traces/(\p{Digit}+)</li><li>https?://.*(osm|openstreetmap).org/edit/?\?gpx=(\p{Digit}+)(#.*)?</li><li>https?://.*/api/0.6/trackpoints\?bbox=.*,.*,.*,.*</li><li>https?://.*/api/v\p{Digit}+/project/\p{Digit}+/tasks_as_gpx?.*</li><li>https?://.*exportgpx.*</li><li>https?://.*/(.*\.gpx)</li></ul></td></tr><tr><td>Téléchargement des notes OSM:</td><td><ul><li>https?://.*/api/0.6/notes.*</li><li>https?://.*/(.*\.osn(\.(gz|xz|bz2?|zip))?)</li></ul></td></tr><tr><td>Téléchargement OSM Change:</td><td><ul><li>https?://.*/api/0.6/changeset/\p{Digit}+/download</li><li>https?://www\.(osm|openstreetmap)\.org/changeset/(\p{Digit}+).*</li><li>https?://.*/.*\.osc</li></ul></td></tr><tr><td>Téléchargement URL OSM:</td><td><ul><li>https?://www\.(osm|openstreetmap)\.org/\?lat=.*&lon=.*</li><li>https?://www\.(osm|openstreetmap)\.org/(.*)?#map=\p{Digit}+/.*/.*</li><li>geo:(?<lat>[+-]?[0-9.]+),(?<lon>[+-]?[0-9.]+)(?<crs>;crs=wgs84)?(?<uncertainty>;u=[0-9.]+)?(\?z=(?<zoom>[0-9]+))?</li></ul></td></tr><tr><td>Télécharger les objets OSM par leur identifiant:</td><td><ul><li>https?://(?:www\.)?(osm|openstreetmap)\.org/(?:browse/)?(node|way|relation)/(\p{Digit}+).*</li></ul></td></tr><tr><td>Téléchargement OSM compressé:</td><td><ul><li>https?://.*/(.*\.osm\.(gz|xz|bz2?|zip))</li></ul></td></tr><tr><td>Téléchargement OSM Change compressé:</td><td><ul><li>https?://.*/(.*\.osc.(gz|xz|bz2?|zip))</li></ul></td></tr><tr><td>Chargement d’une session:</td><td><ul><li>https?://.*/.*\.jo(s|z)</li></ul></td></tr><tr><td>Télécharger les notes dans les limites:</td><td><ul><li>https?://www\.(osm|openstreetmap)\.org/(.*)?#map=\p{Digit}+/.*/.*&layers=[A-MO-Z]*N[A-MO-Z]*</li></ul></td></tr><tr><td>Télécharger un note OSM par son identifiant:</td><td><ul><li>https?://www\.(osm|openstreetmap)\.org/note/(\p{Digit}+).*</li></ul></td></tr><tr><td>Télécharger GeoJSON:</td><td><ul><li>https?://.*/(.*\.(json|geojson)(\.(gz|xz|bz2?|zip))?)</li></ul></td></tr><tr><td>Téléchargement de données ouvertes:</td><td><ul><li>.*(.zip|.7z|.tab|.csv|.gml|.kmz|.shp|.kml|.mif|.xls|.ods)</li></ul></td></tr><tr><td>Téléchargement des données du cadastre:</td><td><ul><li>https?://.*edigeo.*.tar.bz2</li></ul></td></tr></table></p></html>
Attachments (1)
Change History (3)
by , 5 years ago
Attachment: | 2019-12-28-085709_1231x649_scrot.png added |
---|
comment:1 by , 5 years ago
Component: | Core → Core geojson |
---|---|
Milestone: | → 19.12 |
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In 15622/josm: