Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Copter: Terrain data missing for finland, terrain failsafe not triggered #12923

Closed
rmackay9 opened this issue Nov 28, 2019 · 6 comments
Closed

Comments

@rmackay9
Copy link
Contributor

rmackay9 commented Nov 28, 2019

During investigation of this user report, I found that the terrain data seems to be missing for Finland (62.23075, 25.6993) which I think means that terrain following missions will not work.

@meee1 tells me that there should be a N62E025.hgt file in this directory but there are not files higher than N60.

@rmackay9 rmackay9 added the BUG label Nov 28, 2019
@thadeausmaximus
Copy link

The terrain data comes from the SRTM, Shuttle Radar Topography Mission, and only covers from 60 N about 55 S. So you are north of the terrain database used. As the old cartographers said "There be dragons." Unless you have a line on good terrain data for that far north you may be out of luck.

@rmackay9
Copy link
Contributor Author

rmackay9 commented Dec 2, 2019

@thadeausmaximus, thanks for this.

I've just done a quick test in SITL (both the regular one using mavproxy and the one built into MP) and I find that the terrain failsafe did not trigger when the user enters a waypoint with an altitude frame specified as "Terrain" (aka AGL).

@rmackay9 rmackay9 added the Copter label Dec 2, 2019
@rmackay9 rmackay9 changed the title Terrain data missing for finland Copter: Terrain data missing for finland, terrain failsafe not triggered Dec 2, 2019
@VDLJu
Copy link
Contributor

VDLJu commented Dec 2, 2019

There is reliable terrain data available from link below as WMS and WCS services. The map layer is "paituli:mml_korkeusmalli_10m_2019".

The grid size is 10m x 10m and the vertical accuracy is about 1,4 m. Height is given in N2000 system. It is the most accurate DEM available for whole Finland
Coordinate Reference System: ETRS89 / ETRS-TM35FIN (EPSG:3067)

At current state the difference/error between N2000 system and WGS84 (gps default) heights are under 1m. IMO this could be used as is, without any conversion.

API info to database
https://avaa.tdata.fi/web/paituli/rajapinta

Description for the DEM
http://www.nic.funet.fi/index/geodata/mml/dem10m/2019/MML_10mDEM_description.pdf

This data is licensed with "Creative Commons Attribution 4.0 International (CC BY 4.0)"
http://www.nic.funet.fi/index/geodata/mml/NLS_terms_of_use.pdf

@rmackay9
Copy link
Contributor Author

rmackay9 commented Dec 3, 2019

Mission Planner (beta) has been updated so that it will not send invalid altitudes when it has no SRTM data. I think this will resolve the terrain-failsafe issue (i.e. a terrain failsafe will be triggered) for many users.

@rmackay9
Copy link
Contributor Author

This conversion script will apparently resolve this issue shortly ArduPilot/terraingen#17 based on data in this directory https://terrain.ardupilot.org/SRTM3/

@tridge
Copy link
Contributor

tridge commented Apr 25, 2024

yes, issue is now resolved

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

5 participants