Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumberFormatException importing NoiseMap from OSM in GUI #683

Open
georgemccrae opened this issue Aug 24, 2024 · 0 comments
Open

NumberFormatException importing NoiseMap from OSM in GUI #683

georgemccrae opened this issue Aug 24, 2024 · 0 comments
Labels

Comments

@georgemccrae
Copy link

If you ignore this issue template, we may not be able to answer your issue.

NoiseModelling version
v4.0.5

Describe the bug
I'm trying to import the NoiseMap from OSM in the GUI.

I'm getting the error
Process failed during execution javax.script.ScriptException: java.lang.NumberFormatException: empty String java.lang.NumberFormatException: empty String empty String

The only two variables I have are:
🌍 Target projection identifier (also called SRID) of your table. I'm using EPSG:27700 (British National Grid) is indeed correct for Greater London when working with metric coordinates.

📂 Path of the OSM file, including its extension (.osm, .osm.gz or .osm.pbf). I'm using /Users/georgemccrae/Desktop/greater_london.osm.pbf
which I've checked in Terminal: Use cat /Users/georgemccrae/Desktop/greater_london.osm.pbf to see if the file can be read & has the correct path

The NumberFormatException error suggests there might be an issue with how the SRID/ OSM file path is being input.

Remedies I've tried

  1. Ensure Correct Input Format: Double-check that you are entering 27700 as a plain integer, without any extra characters, spaces, or non-numeric symbols.

  2. Clear any Cached Values/ Restarted Application

  3. Test with Other SRIDs - I've used EPSG:3857 (Web Mercator, in meters) to see if the issue is with the specific SRID or something else.

Any ideas? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant