Skip to content

Commit

Permalink
Merge pull request #50 from MIERUNE/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
selfsryo authored Jun 15, 2021
2 parents fc3931a + 7a0314b commit 00e29ad
Show file tree
Hide file tree
Showing 22 changed files with 807 additions and 1,535 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
__pycache__/
.DS_Store
DEM/
GeoTiff/
*.tif
*.xml
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "convert_fgd_dem"]
path = convert_fgd_dem
url = https://github.com/MIERUNE/convert_fgd_dem.git
339 changes: 339 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

244 changes: 0 additions & 244 deletions Makefile

This file was deleted.

18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# QuickDEM4JP

## Overview
![](./docs/img/1.gif)

This is QGIS plugin to convert DEM ("xml" or "folder containing .xml" or ".zip containing .xml") to GeoTiff and Terrain RGB (Tiff).

You can get the DEM data in xml format for any location from the following site. https://fgd.gsi.go.jp/download

## Usage

- After install this plugin, you can choose below icon on QGIS toolbar.

![](./icon.png)

- You should choose input type('xml'または'xml'を含む'zip' / 'xml'を含むフォルダ), input DEM path, output type(GeoTiff / Terrain RGB), output path and EPSG code of GeoTiff, then push OK.

![](./docs/img/1.png)
17 changes: 8 additions & 9 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# -*- coding: utf-8 -*-
"""
/***************************************************************************
ConvertDEMtoGeoTiff
QuickDEMforJP
A QGIS plugin
DEMをGeoTiffに変換します
The plugin to convert DEM to GeoTiff and Terrain RGB (Tiff).
Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/
-------------------
begin : 2019-06-24
copyright : (C) 2019 by MIERUNE.Inc
email : nishio@mierune.co.jp
begin : 2021-05-31
git sha : $Format:%H$
copyright : (C) 2021 by MIERUNE Inc.
email : info@mierune.co.jp
***************************************************************************/
/***************************************************************************
Expand All @@ -20,17 +20,16 @@
* (at your option) any later version. *
* *
***************************************************************************/
This script initializes the plugin, making it known to QGIS.
"""


# noinspection PyPep8Naming
def classFactory(iface): # pylint: disable=invalid-name
"""Load ConvertDEMtoGeoTiff class from file ConvertDEMtoGeoTiff.
"""Load QuickDEMforJP class from file QuickDEMforJP.
:param iface: A QGIS interface instance.
:type iface: QgsInterface
"""
#
from .convert_dem_to_geotiff import ConvertDEMtoGeoTiff
return ConvertDEMtoGeoTiff(iface)
from .quick_dem_for_jp import QuickDEMforJP
return QuickDEMforJP(iface)
Loading

0 comments on commit 00e29ad

Please sign in to comment.