Skip to content

Rajon010/terrain-viewer

Repository files navigation

terrain-viewer

Plots virtual terrain views with mountain names.

Introduction

When hiking, people see mountains and wonder what the mountain names are. Given a user's location (latitude and longitude) as input, this program plots the virtual terrain view the user sees and tags the virtual mountains with their names, so that the user can tell the mountain names by comparing the real view to the virtual view. The program works only in Northern Taiwan currently. It can be generalized to other areas if modified appropriately.

For example, given the location <24.9748287, 121.6303675>, the program generates the image
which matches the real view at the location (see it on Google map).

Data

This program requires two data sources, digital elevation model (DEM) and mountain names. DEM can be download from Taiwan gonverment's website. Mountain names can be retrieved from https://overpass-turbo.eu/ with the following query.

[out:json][timeout:25];
{{geocodeArea:Taiwan}}->.searchArea;
(
    node["natural"="peak"](area.searchArea);
);
out body;
>;
out skel qt;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages