orbisgis / geoclimate

Geospatial processing toolbox for environmental and climate studies
GNU Lesser General Public License v3.0
59 stars 16 forks source link

bbox method with osm error #829

Closed 4estone closed 11 months ago

4estone commented 1 year ago

When running geoclimate with bbox option I get an error:

{'description': 'Processing OSM data', 'input': {'locations': [[[48.68338861999224, 7.628993170108124, 48.711842431126925, 7.672313245006061]]]}, 'output': {'folder': 'C:\\temp'}, 'parameters': {'rsu_indicators': {'indicatorUse': ['LCZ', 'TEB', 'URBAN_TYPOLOGY'], 'svfSimplified': True, 'estimateHeight': True}}}
Please set at least one OSM filter. e.g osm : ['A place name']
Cannot execute the OSM workflow

What is wrong ? Thanks

andreazonato commented 1 year ago

Same error for me!

ebocher commented 1 year ago

Please share the full configuration file or input parameters.

ebocher commented 1 year ago

There is a unit test in GeoClimate code with the following parameters thats rocks !

{"description":Example of configuration file to run the OSM workflow and store the result in a folder, geoclimatedb:{"folder":/tmp/junit17351523886066929138/testOSMWorkflowFromPoint, name:geoclimate_chain_db;AUTO_SERVER=TRUE, "delete":true}, 
"input":{locations:[[48.78146, -3.01115, 48.78236, -3.0102515]]},
 "output": {"folder":/tmp/junit17351523886066929138/testOSMWorkflowFromPoint}}
4estone commented 1 year ago

{ "description": "Processing OSM data", "input": { "locations": [ [ 48.68338861999224, 7.628993170108124, 48.711842431126925, 7.672313245006061 ] ] }, "output": { "folder": "C:\temp" }, "parameters": { "rsu_indicators": { "indicatorUse": [ "LCZ", "TEB", "URBAN_TYPOLOGY" ], "svfSimplified": true, "estimateHeight": true } } }

ebocher commented 1 year ago

What version of GeoClimate ?

ebocher commented 1 year ago

@4estone I'm not able to reproduce this issue with the current GeoClimate version 0.0.2-SNAPSHOT.

Here the LCZ with your area.

area_osm

4estone commented 1 year ago

I use geoclimate-0.0.1.jar Ok I got it But my JRE is too old

j3r3m1 commented 1 year ago

here

j3r3m1 commented 1 year ago

(link findable in the download page: https://github.com/orbisgis/geoclimate/wiki/Download)

4estone commented 1 year ago

Ok thanks What's minimum Java version I can use? Exception in thread "main" java.lang.UnsupportedClassVersionError: org/orbisgis/geoclimate/Geoclimate has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

j3r3m1 commented 1 year ago

minimum 11

4estone commented 1 year ago

Thank you!