iona5 / coordinator Goto Github PK
View Code? Open in Web Editor NEWA QGIS plugin: Capture, transform and use coordinates
A QGIS plugin: Capture, transform and use coordinates
it states that you need to press "Shift" to grab the CRS, while instead it is CTRL.
Shift enables Magnify mode, so we shouldn't use it anyway.
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.
coordinator.py, line 494, in connectCrsToCanvas
TypeError: disconnect() failed between 'clicked' and all its connections
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
When I try to add a "Rectangle from extent", it does not work (see other issue) but the rubberband (?) geometry is stuck on the canvas and is not removed even after closing coordinator.
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....
Maybe its possible to focus the plugin somehow and than paste cordinates from arbitrary data structures
if we are in a state where we are editing a layer and we disengage the editing session, the Add Feature button is kept enabled.
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
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
happened when i searched for "WGS" and hit enter. I think the results were empty at that time... ?
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)
Negative Values in Geodetic Systems (for example EPSG:31254) are displayed as positive.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.