https://github.com/neuralcortex/hcm_viewer
  
  
    HCM Tile-Viewer 
    https://github.com/neuralcortex/hcm_viewer
  
hcm hcm-agreement java javafx javafx-application javafx-desktop-apps srtm srtm-files srtm3
        Last synced: 3 months ago 
        JSON representation
    
HCM Tile-Viewer
- Host: GitHub
- URL: https://github.com/neuralcortex/hcm_viewer
- Owner: NeuralCortex
- License: lgpl-2.1
- Created: 2023-08-15T14:09:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-09T13:07:16.000Z (over 1 year ago)
- Last Synced: 2025-01-21T00:39:58.169Z (9 months ago)
- Topics: hcm, hcm-agreement, java, javafx, javafx-application, javafx-desktop-apps, srtm, srtm-files, srtm3
- Language: Java
- Homepage:
- Size: 1.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- 
            Metadata Files:
            - Readme: README.md
- License: LICENSE
 
Awesome Lists containing this project
README
          # HCM-Viewer 1.0.0

## Funktionsweise des Programms
Der HCM-Viewer ist ein JavaFX-Projekt und ein Fork des [SRTM-Viewer](https://github.com/NeuralCortex/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](http://www.hcm-agreement.eu/http/englisch/verwaltung/index_europakarte.htm) veröffentlicht.
## How the program works
The HCM Viewer is a JavaFX project and a fork of the [SRTM Viewer](https://github.com/NeuralCortex/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](http://www.hcm-agreement.eu/http/englisch/verwaltung/index_europakarte.htm).
## 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](https://github.com/5chufti/HCM_V7/blob/master/Point_info.f90) 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](https://github.com/5chufti/HCM_V7/blob/master/Point_info.f90).
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](https://netbeans.apache.org/).
Folgende Frameworks sollten installiert sein:
- JAVA-SDK [JAVA 19](https://www.oracle.com/java/technologies/javase/jdk19-archive-downloads.html)
- SceneBuilder für GUI-Entwicklung [Gluon SceneBuilder](https://gluonhq.com/products/scene-builder/)
- JAVA-FX-SDK [JavaFX](https://gluonhq.com/products/javafx/)
## Technology used
This JavaFX project was built with the Apache NetBeans 17 IDE [NetBeans 17](https://netbeans.apache.org/).
The following frameworks should be installed:
- JAVA SDK [JAVA 19](https://www.oracle.com/java/technologies/javase/jdk19-archive-downloads.html)
- SceneBuilder for GUI development [Gluon SceneBuilder](https://gluonhq.com/products/scene-builder/)
- JAVA FX SDK [JavaFX](https://gluonhq.com/products/javafx/)