iTowns / itowns

A Three.js-based framework written in Javascript/WebGL for visualizing 3D geospatial data
http://www.itowns-project.org
Other
1.1k stars 298 forks source link

ELEVATION.ELEVATIONGRIDCOVERAGE not available with a standard geoportail API key? #651

Closed fnicollet closed 6 years ago

fnicollet commented 6 years ago

Hello,

I am trying to put together a POC with iTowns, and first, I had to register on the IGN website (quite annoying but I guess it's not your fault) and get a key (free, for Grand Public). The examples in the demo pages cannot be used as they load: http://www.itowns-project.org/itowns/examples/layers/JSONLayers/Ortho.json Which used a geoportail key that must be protected with your own Referrer I believe.

With my standard key, I have access to ORTHOIMAGERY.ORTHOPHOTOS but not to ELEVATION.ELEVATIONGRIDCOVERAGE, which provide some "image/x-bil" images.

This format seem to be IGN-specific, so I am not sure how iTowns is supposed to work outside of the geoportail really. Is there a way to get a key which has access to the ELEVATION WMTS (incl. high res)? Or has iTowns only been deployed for the geoportail and nowhere else (because I don't know any service which provides this image/x-bil source with a global coverage)?

Thanks for your help, Fabien

elias75015 commented 6 years ago

Hi Fabien,

While the geoportail (IGN) and itowns works in close cooperation, we are 2 different teams.

Indeed, for the moment, the ELEVATION.ELEVATIONGRIDCOVERAGE resource seems to be unavailable on the standard grand public keys. Please, send a mail to contact.geoservices@ign.fr to explain your problem.

Elias, from the Geoportail team.

fnicollet commented 6 years ago

Hello @elias75015 ,

What I meant is when you have been using iTowns for projects (in the video showcase, it seems that iTowns was used on many projects outside of the geoportail), which elevation were you using if not the IGN elevation? Using a custom WMTS for your area only?

Fabien

nosy-b commented 6 years ago

Hi @fnicollet, In fact in the video when you see elevation it always comes from the Geoportail WMTS which serves its own high-res data for france or NASA for the rest of the world in xbil32.

But you can also process your elevation with gdal to generate tiles as we did in this example: https://github.com/iTowns/demo-geoid

I checked Cesium, they have their own format quantized-mesh for Digital Terrain Model https://cesiumjs.org/data-and-assets/terrain/formats/quantized-mesh-1.0 It could be a good feature to handle it too as they seem to serve it without the need for Referee (or complicated non public registration! ;) )

Jeremy-Gaillard commented 6 years ago

Hello,

We also use greyscale images as elevation in some examples, as can be seen here. You won't get satisfying results for large-scale datasets since you are limited to 256 elevation values, but it works fine for small areas.

fnicollet commented 6 years ago

Thanks Jérémy, that's an interesting example, I didn't notice it in the example page (maybe "Planar" is not an obvious name for a relief map :) )

On Mon, Feb 12, 2018 at 2:44 PM, Jeremy-Gaillard notifications@github.com wrote:

Hello,

We also use greyscale images as elevation in some examples, as can be seen here https://github.com/iTowns/itowns/blob/master/examples/planar.js#L58. You won't get satisfying results for large-scale datasets since you are limited to 256 elevation values, but it works fine for small areas.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iTowns/itowns/issues/651#issuecomment-364926084, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLtoUEWZIW7ZuT-IHNLbfSgPkiiNeuoks5tUEA7gaJpZM4SCBWJ .

-- Fabien Nicollet Tel : +33 (0)6 60 54 72 20