domlysz / BlenderGIS

Blender addons to make the bridge between Blender and geographic data
GNU General Public License v3.0
7.7k stars 1.35k forks source link

Unable to receive any SRTM data #512

Open tuomaspap opened 3 years ago

tuomaspap commented 3 years ago

Blender and OS versions -

2.82a Windows 10

Describe the bug

After selecting a basemap with google maps , bing etc , trying to import the srtm data causes the error message below . Have attempted to change opentopography server but problem remains

How to Reproduce

Zoom in to any level on to the map . Snap with E . Then proceed to press Get SRTM . Process fails

Error message

Cannot reach OpenTopography web service, check logs for more infos

bpy.ops.object.select_all(action='SELECT') bpy.ops.object.delete(use_global=False, confirm=False) Deleted 3 object(s) bpy.ops.view3d.map_start(src='BING', dialog="MAP") Cannot reach OpenTopography web service, check logs for more infos Cannot reach OpenTopography web service, check logs for more infos bpy.ops.object.delete(use_global=False, confirm=False) Deleted 1 object(s) bpy.ops.view3d.map_start(src='GOOGLE', dialog="MAP", zoom=12) Cannot reach OpenTopography web service, check logs for more infos bpy.ops.object.delete(use_global=False, confirm=False) Deleted 1 object(s) Traceback (most recent call last): File "C:\Users\Tomas\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\BlenderGIS-master\prefs.py", line 484, in execute prefs.osmTags = self.tag #update current idx TypeError: bpy_struct: item.attr = val: enum "" not found in ('building', 'highway', 'landuse', 'leisure', 'natural', 'railway', 'waterway')

location: :-1

bpy.ops.view3d.map_start(dialog="MAP", zoom=13) Cannot reach OpenTopography web service, check logs for more infos Cannot reach OpenTopography web service, check logs for more infos

bgis.log

mithraictemple commented 3 years ago

Having exactly the same issue. Is there anyone maintaining this plugin? Any help would be appreciated. I've read of a patch to mend the broken link but I'm not confident that is enough.

tuomaspap commented 3 years ago

This has happened once before a year ago i think when the service providing the data had changed servers and the plugin required an update to look for the new server, I believe this is similar so hopefully once this is seen it should be a fast fix

domlysz commented 3 years ago

Works correctly on my side. Sometimes the server can just be down or overloaded. Is it fails with both Opentopography and marine-geo servers ? Or maybe it's related to the area of interest, what's the location ?

gogobd commented 3 years ago

I just wanted to get elevation data for Italy and it failed, the log showed an url (https://portal.opentopography.org/API/globaldem?demtype=SRTMGL3&west=-2.8144995308002074&east=30.939499891825758&south=34.305144267158994&north=48.924499000372606&outputFormat=GTiff), the request showed <error>Error: The maximum area for SRTMGL3 is 4,050,000 km2. The selected area is 5,016,300 km2</error>