Giter VIP home page Giter VIP logo

Comments (5)

AbdelghaniTamort avatar AbdelghaniTamort commented on June 19, 2024

In other words, how to adjust the source code so it can allow for WMS handling along with REST for elevations models ?

from blendergis.

domlysz avatar domlysz commented on June 19, 2024

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.

AbdelghaniTamort avatar AbdelghaniTamort commented on June 19, 2024

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.

domlysz avatar domlysz commented on June 19, 2024

check this branch : https://github.com/domlysz/BlenderGIS/tree/wms_dem

The target res is hardcoded to 5m/pixel : b3e6a6a

from blendergis.

AbdelghaniTamort avatar AbdelghaniTamort commented on June 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.