Git Product home page Git Product logo

landsurveycodesimport's People

Contributors

agiudiceandrea avatar lbartoletti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

agiudiceandrea

landsurveycodesimport's Issues

More output formats

For now, there is only geopackage supported.

At least PostgreSQL could be supported and why not all GIS formats

Install failed with "ImportError: PyQt4 classes cannot be imported in QGIS 3.x. Use PyQt5 or the version independent qgis.PyQt import instead. "

Hi,

I just tried to setup your plugin in QGIS 3.10.4 on Ubuntu 18.04. Set up failed with this message :

Impossible de charger l'extension 'LandSurveyCodesImport' provoque une erreur lors de l'appel à sa méthode classFactory()

ImportError: PyQt4 classes cannot be imported in QGIS 3.x. Use PyQt5 or the version independent qgis.PyQt import instead. 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 334, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "/home/USER/.local/share/QGIS/QGIS3/profiles/default/python/plugins/LandSurveyCodesImport/__init__.py", line 33, in classFactory
    from .land_survey_field_codes import LandSurveyFieldCodes
  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 744, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/USER/.local/share/QGIS/QGIS3/profiles/default/python/plugins/LandSurveyCodesImport/land_survey_field_codes.py", line 30, in 
    from .land_survey_field_codes_dialog import LandSurveyFieldCodesDialog
  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 744, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/USER/.local/share/QGIS/QGIS3/profiles/default/python/plugins/LandSurveyCodesImport/land_survey_field_codes_dialog.py", line 41, in 
    resource_suffix='')
  File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 201, in loadUiType
    exec(code_string.getvalue(), ui_globals)
  File "", line 242, in 
  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 744, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/USER/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/resources.py", line 10, in 
    from PyQt4 import QtCore
  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 742, in _import
    raise ImportError(msg)
ImportError: PyQt4 classes cannot be imported in QGIS 3.x.
Use PyQt5 or the version independent qgis.PyQt import instead.`

Version de Python : 3.6.9 (default, Nov  7 2019, 10:44:02) [GCC 8.3.0] 
Version de QGIS : 3.10.4-A Coruña A Coruña, exporte

Chemin Python :
/usr/share/qgis/python
/home/USER/.local/share/QGIS/QGIS3/profiles/default/python
/home/USER/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python36.zip
/usr/lib/python3.6
/usr/lib/python3.6/lib-dynload
/usr/local/lib/python3.6/dist-packages
/usr/lib/python3/dist-packages
/home/USER/.local/share/QGIS/QGIS3/profiles/default/python
/home/USER/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary
/home/USER/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/extlibs
/home/USER/.local/share/QGIS/QGIS3/profiles/default/python/plugins/DigitizingTools/tools

I hope to be able to try your plugin soon, as I used a Trimble M3 station with JobXML file for many years...

Regards,
Xavier

More formats supported

Today the default format is CSV with a predetermined column order.
We would need to add converters of different file formats like :

  • GIS points
  • JobXML
  • ...

The conversion modules must be accessible from the processing toolbox

Enveloppe for points imported

It must be possible to create an envelope of the points recorded.

This can be the convex, concave, bounding or oriented rectangle envelope.

[UI] Create a table of codes

Add the possibility to generate a document usable in the field.

The code list must be configurable (geometry type, attributes, etc.)

Support for rectangle

Add support for:

  • Square by 2 points
    image

  • Square by 2 diagonal points
    image

  • Rectangle by 2 points and height
    image

  • Rectangle by 3 points (3rd = distance)
    image

  • Rectangle by 3 points (3rd point = orthogonal projection)
    image

Uncaught RuntimeError: wrapped C/C++ object of type landsurveyAlgorithm has been deleted

Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:/Users/user9/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LandSurveyCodesImport\land_survey_provider.py", line 56, in loadAlgorithms
    self.addAlgorithm( alg )
RuntimeError: wrapped C/C++ object of type landsurveyAlgorithm has been deleted

LandSurveyCodesImport 0.1, QGIS 3.8.0-Zanzibar on Windows 10

Add the possibility to enter a line in a non-linear way

For the moment, the lines are done by taking the points in order.

However, it is sometimes necessary to be able to put the points in a non-sequential way. An idea can be to draw the lines by defining a sequence number.

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.