Comments (5)
In other words, how to adjust the source code so it can allow for WMS handling along with REST for elevations models ?
from blendergis.
Since WMS 1.3.0 the order of bbox coordinates depends on the CRS. Systems with angular coordinates like EPSG:4326 use latitude as first axis. So the BBOX should be S,W,N,E
DEFAULT_DEM_SERVER = [
("https://data.geopf.fr/wms-r/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&STYLES=normal&FORMAT=image/geotiff&LAYERS=ELEVATION.ELEVATIONGRIDCOVERAGE.HIGHRES&WIDTH=5000&HEIGHT=5000&CRS=EPSG:4326&BBOX={S},{W},{N},{E}", 'Geoplateforme', 'Elevation data from IGN')
]
This url works but it miss a peace of code into operators/io_get_dem.py to correctly setup WIDTH and HEIGHT according to the target resolution of the DEM (meter/pixel).
from blendergis.
Oh I see, I just checked and it works indeed. So you also implemented this handling of WIDTH and HEIGHT according to target resolution for the Basemap I presume? Maybe if you guide me to which line in which file you implemented it I can reproduce the same for the DEM ?
from blendergis.
check this branch : https://github.com/domlysz/BlenderGIS/tree/wms_dem
The target res is hardcoded to 5m/pixel : b3e6a6a
from blendergis.
alright, cool!
So the WMS version of RGE ALTI's resolution is 5m and not 1m?
Also there is a max height/width of 10000 imposed by the server, what happens if the user chooses an extent bigger than 10km * 10km ?
from blendergis.
Related Issues (20)
- Non-integer randomheight value will result in crash HOT 1
- Export Shape Objects to feature not working
- Error when try to extract map HOT 4
- Error prompt when pressing the E key HOT 7
- SRTM loaded but not displaying elevations.
- export failing HOT 5
- MacOS - no basemap HOT 3
- When I deselect the plugin on Blender's plugin page and try to enable it again, I get the following error, does anyone know how to fix it?
- Blender 4.0 and 4.1.1 After loading basemap cant access any menu option HOT 1
- I am unable to load any map model in blender HOT 2
- Load the geopackage data already downloaded HOT 1
- Large area mesh tilling HOT 3
- Crash with large asc file
- Basemap not loading HOT 5
- Basemap Not Working
- error when exporting basemap HOT 2
- cannot get buildings from Get OSM
- Basemap map scale option greyed out
- Terrain Analysis problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blendergis.