Git Product home page Git Product logo

hcm_viewer's Introduction

HCM-Viewer 1.0.0

image

Funktionsweise des Programms

Der HCM-Viewer ist ein JavaFX-Projekt und ein Fork des SRTM-Viewer.
Es besitzt die gleiche Funktionalität des SRTM-Viewers, unterscheidet sich aber in den Format der einlesbaren Dateien.
Im HCM-Viewer können SRTM-Dateien im HCM-Format eingelesen und angezeigt werden.
Dabei werden 2 Arten von Dateien unterstützt - Topografische und Morphologische Dateien.
Testdaten wurden unter folgenden Link veröffentlicht.

How the program works

The HCM Viewer is a JavaFX project and a fork of the SRTM Viewer.
It has the same functionality as the SRTM viewer, but differs in the format of the files that can be read.
SRTM files in HCM format can be read and displayed in the HCM viewer.
2 types of files are supported - topographical and morphological files.
Test data was published under the following Link.

Aufbau einer Datei

Anders als eine SRTM-Datei der NASA hat der Dateiname typischerweise die Form: "E010N50.63E" für topografische Dateien bzw.:
"E010N50.63M" für morphologische Dateien. Weiterhin unterscheiden sich die Dateien in der Auflösung in Pixel was nachfolgend näher betrachtet wird.

Interner Aufbau

Eine HCM-Datei Datei enthält 16-Bit signed Integer Werte, ohne Header oder Trailer.

HCM-Datei mit Endung ".63E" oder ".63M":

                1x1 Grad    63-Kachel
Nord X=0,Y=1212 ********************* X=612,Y=1212
*********************
*********************
*********************
Süd X=0,Y=0 ********************* X=612,Y=0
West Ost

HCM-Datei mit Endung ".33E" oder ".33M":

                1x1 Grad    33-Kachel
Nord X=0,Y=1212 ********************* X=1212,Y=1212
*********************
*********************
*********************
Süd X=0,Y=0 ********************* X=1212,Y=0
West Ost

Dabei ist zu beachten, das der interne Aufbau einer HCM-Datei komplexer ist als eine SRTM-Datei der NASA.
Deswegen beschreibt das oben beschriebene Format nur das Result des Einleseprozesses in Pixeln.
Der genaue Aufbau der Datei kann hier nachgelesen werden.

Im Vergleich der Auflösung in Pixeln mit den NASA-Daten ergibt sich folgende Matrix:

         | SRTM-1 | SRTM-3
---------|--------|-------
.63(E|M) |    <   |   <
---------|--------|-------
.33(E|M) |    <   |   >

Structure of a file

Unlike a NASA SRTM file, the filename typically takes the form: "E010N50.63E" for topographic files, or:
"E010N50.63M" for morphological files. Furthermore, the files differ in the resolution in pixels, which is examined in more detail below.

Internal structure

An HCM file contains 16-bit signed integer values, with no header or trailer.

HCM file with extension ".63E" or ".63M":

                  1x1 degree    63 tile
 North X=0,Y=1212 ********************* X=612,Y=1212
*********************
*********************
*********************
South X=0,Y=0 ********************* X=612,Y=0
West East

HCM file with extension ".33E" or ".33M":

                  1x1 degree    33 tile
 North X=0,Y=1212 ********************* X=1212,Y=1212
*********************
*********************
*********************
South X=0,Y=0 ********************* X=1212,Y=0
West East

It should be noted that the internal structure of an HCM file is more complex than a NASA SRTM file.
Therefore, the format described above only describes the result of the reading process in pixels.
The exact structure of the file can be read here.

A comparison of the resolution in pixels with the NASA data results in the following matrix:

         | SRTM-1 | SRTM-3
---------|--------|-------
.63(E|M) |    <   |   <
---------|--------|-------
.33(E|M) |    <   |   >

Hinweis

Für den Betrieb des Programms ist eine ständige Internetverbindung erforderlich.

A notice

A constant internet connection is required to run the program.

Verwendete Technologie

Dieses JavaFX-Projekt wurde erstellt mit der Apache NetBeans 17 IDE NetBeans 17.

Folgende Frameworks sollten installiert sein:

Technology used

This JavaFX project was built with the Apache NetBeans 17 IDE NetBeans 17.

The following frameworks should be installed:

hcm_viewer's People

Contributors

neuralcortex avatar

Watchers

 avatar

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.