Code Monkey home page Code Monkey logo

coordinator's People

Contributors

alexanderfinkbeiner avatar iona5 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

coordinator's Issues

Cannot enter coordinates for tool "Add Rectangle from Extent"

If I use that tool, the "Add Coordinates" Button does not enable. If I click "Add Circular String" and then reselect "Add Rectangle From Extent", the "Add Coordinates" Button eventually engages, but when I add the coordinate it does not propagate to the Geometry but just displays a red line when I add the second coordinate.

locked CRS does not change when CRS of selected layer changes

you need to deselect the layer and select again to propagate changes

STR:
open Coordinator
add layer (for example tenbytenraster)
open layer properties and select a different CRS in "Source"

Expected: Coordinators output CRS switches to the new CRS of the layer

Actual: Coordinator does nothing

Additional Info:
if you then select another layer and select the first layer again, the CRS is actually changed in Coordinator

Inline translations do not work anymore?

all translations in code do not seem to work anymore.

test in console:
QCoreApplication.translate('Coordinator', 'outside of map extent')

returns just 'outside of map extent' under german locale, while it should be 'außerhalb der Karte'

UI-based translations are fine....

Problem with exceeding coordinate space

Happens when changing CRS

2020-03-04T13:10:19     WARNING    Traceback (most recent call last):
              File ".../AppData/Roaming/QGIS/QGIS3\profiles\coordinator-dev/python/plugins\coordinator\coordinator.py", line 410, in inputCoordinatesChanged
              #Coordinator.log("Input changed")
              File ".../AppData/Roaming/QGIS/QGIS3\profiles\coordinator-dev/python/plugins\coordinator\coordinator.py", line 380, in process
              # coordinatorLog("Input: %f %f " % (x, y) )
             _core.QgsCsException: forward transform of
             (inf, inf)
             PROJ: +proj=pipeline +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=utm +zone=33 +ellps=WGS84
             Error: latitude or longitude exceeded limits

Error when switching a layer to edit mode

Hi, very nice tool @iona5 !

I'a having one issue when switching to edit mode:

AttributeError: type object 'CaptureMode' has no attribute 'CapturePoint' 
Traceback (most recent call last):
  File "/home/regis/OSLANDIA/support/gendarmerie_stsi2/profil_dev/profiles/default/python/plugins/coordinator/coordinator.py", line 422, in mapToolChanged
    self.dockwidget.addFeatureButton.setEnabled(self.__checkEnableAddFeatureButton())
  File "/home/regis/OSLANDIA/support/gendarmerie_stsi2/profil_dev/profiles/default/python/plugins/coordinator/coordinator.py", line 165, in __checkEnableAddFeatureButton
    shouldEnable = bool(self.dockwidget.hasInput() and self.__compatibleMapTool())
  File "/home/regis/OSLANDIA/support/gendarmerie_stsi2/profil_dev/profiles/default/python/plugins/coordinator/coordinator.py", line 174, in __compatibleMapTool
    if(newTool.mode() == QgsMapToolCapture.CaptureMode.CapturePoint
AttributeError: type object 'CaptureMode' has no attribute 'CapturePoint'
Version de Python : 3.6.8 (default, Aug 20 2019, 17:12:48) [GCC 8.3.0] 
Version de QGIS : 3.4.11-Madeira Madeira, 9a8a6d4687 

Regards

capture tool button needs to disengage when another tool is selected

when you have the Coordinator capture tool active and select another tool, the "Pick Point" button is still enabled, giving the visual hint that you will still capture points. This is however not the case.

Either the capture button needs to be unchecked (fix) or we continue capturing (feature)

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.