Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15784 closed defect (fixed)

Importing shapefiles with Swiss projection fails when using Java 9

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


What steps will reproduce the problem?

  1. Start JOSM using Java 9.0.1+11, on Windows 10; have the OpenData plugin installed
  2. Try to import an ESRI shapefile, e.g. unpack the attached file and try to open the contained BB_BoFlaeche.shp

What is the expected result?

The file is successfully imported.

What happens instead?

The import fails, showing the message
JOSM was unable to find a strict mathematical transformation between 'CH1903+_LV95' and WGS84

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

This kind of import works when running JOSM on Java 8.

The attached "latest warnings" show the state after trying to import.

I would greatly appreciate a fix, as I would like to benefit from the great HighDPI support in Java 9, finally.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-12-31 03:09:43 +0100 (Sun, 31 Dec 2017)
Build-Date:2017-12-31 02:33:46

Identification: JOSM/1.5 (13265 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 1709 (16299)
Memory Usage: 247 MB / 247 MB (34 MB allocated, but free)
Java version: 9.0.1+11, Oracle Corporation, Java HotSpot(TM) Server VM
Screen: \Display0 3200x1800
Maximum Screen Size: 3200x1800
Dataset consistency test: No problems found

+ DxfImport (1012)
+ Mapillary (v1.5.9)
+ apache-commons (33668)
+ apache-http (32699)
+ continuosDownload (68)
+ download_along (33710)
+ ejml (32680)
+ geotools (33958)
+ imagery_offset_db (33774)
+ jogl (1.1.0)
+ jts (32699)
+ log4j (32699)
+ opendata (33978)
+ turnrestrictions (33780)
+ utilsplugin2 (33991)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Warning: Failed to scan file '' for module information. Skipping.
- W: java.nio.charset.UnsupportedCharsetException: 1252

Attachments (1) (327.9 KB) - added by anonymous 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by anonymous

comment:1 Changed 3 years ago by Don-vip

Keywords: java9 shapefile added

comment:2 Changed 3 years ago by Don-vip

Resolution: fixed
Status: newclosed

Fixed in [o34017:34020]. Thank for the bug report!

comment:3 Changed 3 years ago by johsin18

Fix deployed to my machine the next day automatically. Awesome! Many thanks!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.