This repository has been archived by the owner on May 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b721be1
commit 0952120
Showing
4 changed files
with
74 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,40 @@ | ||
# mappy | ||
Creating geological maps from limits and points - proof of concept with python gis tools | ||
|
||
The idea is to start from contacts + labelled points to obtain consistent geological maps. in this way: | ||
This repo contains python code to generate maps starting from boundary lines and indicator points. The inverse operation is also supported. | ||
|
||
The mappy library can be used as a standalone module for applying the transforms from python code (without QGIS). | ||
|
||
The qgis_plugin folder contains qgismappy, a QGIS plugin that implements the GUI for the mappy python module. | ||
|
||
**This module and plugin are experimental, please use the issue system to provide feedback** | ||
|
||
# Requirements | ||
The mappy python modul;e (and the QGIS plugin) makes use of several additional libraries, that must be installed opf the plugin will not work properly: | ||
|
||
- geopandas | ||
- topojson | ||
|
||
# Install | ||
|
||
## a) From repo in development mode | ||
|
||
To install the plugin clone this repo in a dedicated user folder: | ||
|
||
```bash | ||
git clone https://github.com/planmap-eu/mappy.git mappy.git | ||
``` | ||
|
||
and add the following system variable to your bashrc: | ||
|
||
```bash | ||
QGIS_PLUGINPATH=/path_to_folder/mappy.git/qgis_plugin/ | ||
``` | ||
|
||
In this way QGIS should be able to find the plugin (activate it from the plugin manager of QGIS) | ||
|
||
## b) From standalone package | ||
This repo also provides pregenerated zip packages that can be installed in qgis by using the plugin manager. | ||
|
||
This module and QGIS plugin are used to perform the following transform, and vice-versa: | ||
|
||
![woops, missing image](images/example.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
cp -vr qgis_plugin/qgismappy qgismappy | ||
cp -vr mappy qgismappy | ||
|
||
zip qgismappy -r qgismappy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters