-
Hello, After using Geoclimate with OSM input data, I'm trying to use it with BD TOPO (for my PhD thesis). I managed to do it with the example given (sample 12174). I'd now like to use the tool for Lyon. I downloaded the BD TOPO files (version 3.3 here https://geoservices.ign.fr/bdtopo). I checked that there were all the necessary inputs (Aerodrome - Building - Cemetery - Municipality - Surface construction - Transport equipment - Aerodrome runway - Reservoir - Hydrographic surface - Sports ground - Road trunk - Railway trunk - Vegetation zone - Zone of activity or interest) and that for each layer there were the formats '.dbf', '.prj', '.shx' and '.shp'. I then modified the configuration file as follows: {
"description": "Processing BD Topo v3 data",
"input": {
"folder":"C:\\Users\\atoulou\\Desktop\\Geoclimate\\BDTOPO_3.3_69",
"locations":["42059"]
},
"output": {
"folder": "C:\\Users\\atoulou\\Desktop\\Geoclimate\\Resultats_BD_TOPO"
},
"parameters": {
"rsu_indicators": {
"indicatorUse": [
"LCZ",
"TEB",
"URBAN_TYPOLOGY"
],
"svfSimplified": true
},
"grid_indicators": {
"x_size": 100,
"y_size": 100,
"rowCol": false,
"output" : "geojson",
"indicators" :["BUILDING_FRACTION", "BUILDING_HEIGHT", "BUILDING_POP",
"BUILDING_TYPE_FRACTION", "WATER_FRACTION", "VEGETATION_FRACTION",
"ROAD_FRACTION", "IMPERVIOUS_FRACTION", "FREE_EXTERNAL_FACADE_DENSITY",
"BUILDING_HEIGHT_WEIGHTED", "BUILDING_SURFACE_DENSITY",
"SEA_LAND_FRACTION", "ASPECT_RATIO", "SVF",
"HEIGHT_OF_ROUGHNESS_ELEMENTS", "TERRAIN_ROUGHNESS_CLASS",
"UTRF_AREA_FRACTION", "UTRF_FLOOR_AREA_FRACTION",
"LCZ_PRIMARY"]
}
}
} On my command prompt I wrote : "42059" is one of the "communes" for which I have data. Second question: on the website, it says "If you want all the communes in your data to be executed, remove "id_zones":["12174"]." yet when I tried the above configuration file without the line "locations":["42059"] I got this error message "ERROR GeoClimate -- Cannot find any locations parameter". So how do I get the tool to work for the whole area (and not just one "commune")? Thanks in advance for your help :) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Concerning your first issue, you probably need to add an information about the srid of your data since the BDTopo srid is not recognized easily by H2GIS (the "spatial database" system used in GeoClimate): here you can find more information Thus your config file will result in: {
"description": "Processing BD Topo v3 data",
"input": {
"folder":"C:\\Users\\atoulou\\Desktop\\Geoclimate\\BDTOPO_3.3_69",
"locations":["42059"],
"srid":2154
},
"output": {
"folder": "C:\\Users\\atoulou\\Desktop\\Geoclimate\\Resultats_BD_TOPO"
},
"parameters": {
"rsu_indicators": {
"indicatorUse": [
"LCZ",
"TEB",
"URBAN_TYPOLOGY"
],
"svfSimplified": true
},
"grid_indicators": {
"x_size": 100,
"y_size": 100,
"rowCol": false,
"output" : "geojson",
"indicators" :["BUILDING_FRACTION", "BUILDING_HEIGHT", "BUILDING_POP",
"BUILDING_TYPE_FRACTION", "WATER_FRACTION", "VEGETATION_FRACTION",
"ROAD_FRACTION", "IMPERVIOUS_FRACTION", "FREE_EXTERNAL_FACADE_DENSITY",
"BUILDING_HEIGHT_WEIGHTED", "BUILDING_SURFACE_DENSITY",
"SEA_LAND_FRACTION", "ASPECT_RATIO", "SVF",
"HEIGHT_OF_ROUGHNESS_ELEMENTS", "TERRAIN_ROUGHNESS_CLASS",
"UTRF_AREA_FRACTION", "UTRF_FLOOR_AREA_FRACTION",
"LCZ_PRIMARY"]
}
}
} |
Beta Was this translation helpful? Give feedback.
-
Concerning your second issue, good that you found this problem in the wiki. It is a matter of update, I have changed that since this option seems not to be possible anymore. However, you can still run a list of communes. So copying and copying the list of all your insee codes after the "locations" key word should make the job. |
Beta Was this translation helpful? Give feedback.
-
@atoulou can we consider this discussion solved ? |
Beta Was this translation helpful? Give feedback.
-
Yes! Thank you again for your help |
Beta Was this translation helpful? Give feedback.
Yes! Thank you again for your help