open-elevation icon indicating copy to clipboard operation
open-elevation copied to clipboard

Use several Dataset

Open maka1000 opened this issue 6 years ago • 7 comments

Hi Is it possible to user several datasets? I have the dataset TanDEM 90m global, but from one country i have also a more accurate dataset in GeoTiff. How can I set, that it should use the more accurate dataset when it exist for the area and if not then it should use the TanDEM 90m global?

maka1000 avatar Jun 09 '19 09:06 maka1000

Sry... only sources described in the Readme.md Arena supported...

Developer66 avatar Jun 09 '19 11:06 Developer66

Thanks for your answer. In Readme.md is descripted "Custom Data If you don't want to use the whole world, you can provide your own dataset in GeoTIFF format, compatible with the SRTM dataset. Simply drop the files for the regions you desire in the data directory"

->So when I use another GeoTIFF dataset then from TanDEM it is not working?

maka1000 avatar Jun 09 '19 11:06 maka1000

Can you send a error message or a sample geotiff with the coords you use??

Developer66 avatar Jun 09 '19 11:06 Developer66

Yes sure, here is a sample: swissalti3dgeotifflv95 (1).zip

maka1000 avatar Jun 09 '19 11:06 maka1000

Can you post a sample of you summary.json located in the data dir AND the url you use (sample)?? Seems like it using the wrong bounding:

<bounding>
	<westbc Sync="TRUE">7.439583</westbc>
	<eastbc Sync="TRUE">7.465851</eastbc>
	<northbc Sync="TRUE">46.934413</northbc>
	<southbc Sync="TRUE">46.916417</southbc>
</bounding>
<lboundng>
	<leftbc Sync="TRUE">2600000.000000</leftbc>
	<rightbc Sync="TRUE">2602000.000000</rightbc>
	<bottombc Sync="TRUE">1196000.000000</bottombc>
	<topbc Sync="TRUE">1198000.000000</topbc>
</lboundng>

The following url throw an error: http://0.0.0.0:10000/api/v1/lookup?locations=7.439583,46.934413 {"results":[{"latitude": 7.439583, "longitude": 46.934413, "error": "No such coordinate (7.439583, 46.934413)"}]}

This one is working: http://192.168.222.247:10000/api/v1/lookup?locations=11960000,2600000

Developer66 avatar Jun 09 '19 18:06 Developer66

So does it looks, that the coordinate system from my samples are not the right ones. The coordinate system of samples is CH1903+/LV95 (EPSG:2056 ). But how should it be? In WGS84 (EPSG:4326)?

maka1000 avatar Jun 11 '19 07:06 maka1000

I have absolutely no idea: (I only use the Tandem90 / 30 and have no experience with other datasets...

Developer66 avatar Jun 11 '19 09:06 Developer66