Git Product home page Git Product logo

qgis-wasp's Introduction

QGIS-WAsP

Import/Export WAsP .map files

This plugin also provides an easy way to simplify height countours when the original DEM is not available.

Installation

To install the Plugin, the best method is to use the QGIS extension manager. Run the extension manager, look for WAsP and install the plugin.

Alternatively, you can clone or unzip this project directly into your .qgis2/python/plugins directory.

Configuration

Open QGIS and make sure that the plugin is correctly loaded (Plugin Manager). Check that you see the plugins buttons are in your plugin toolbar.

Click on the configure button and set the ogr2ogr program you want to use. On Linux it should be in @/usr/bin@. On Windows it is located in your OSGeo4W / QGIS installation. The configuration is kept between QGIS sessions.

Versions notes

Support for WAsP .map format has been added to GDAL/OGR >= 1.11.0. Your version should normally support this by default for recent QGIS versions.

For the height contours simplification to work, you will need to have gdal installed. It should be installed by default with recent versions of QGIS.

License

This work is free software and licenced under the GNU GPL version 2 or any later version. See LICENSE file.

qgis-wasp's People

Contributors

vmora avatar vpicavet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qgis-wasp's Issues

export problem for roughness file

Hi,

This plug-in has a problem in exporting the roughness file. The roughness file exported is not correct for the roughness value.
I changed the line[143] :
if secondField.currentText() != '[second field]': fields += ','+firstField.currentText()
by
if secondField.currentText() != '[second field]': fields += ','+secondField.currentText()
and problem solved.

Hope it will be helpful for the users of this plug-in.

The ogr2ogr configuration issue in ubuntu

This plug-in will sometimes forget to remind users to configure the path of ogr2ogr.
If you import or export a wasp file before the configuration, it will popup a error like this:
screenshot from 2015-01-22 18 10 43

In ubuntu system, the ogr2ogr is located at /usr/local/bin/ogr2ogr after the installation of GDAL. It's better choosing to show all files but not only the executable. For some reason, the ogr2ogr won't appear in executable.

Thanks Vincent for his help.

Python error: OSError: [Errno 13] Permission denied

Hi Vincent,

Thanks a lot for your feedback.
I follow your tips and get the result as below:

Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 80, in qgis_excepthook
showException(type, value, tb, None)
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 77, in showException
msg.showMessage()
KeyboardInterrupt

Looking forward your feedback!

(PS:
Original exception was:

Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 80, in qgis_excepthook
showException(type, value, tb, None)
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 77, in showException
msg.showMessage()
KeyboardInterrupt
)

Pengyu

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.