Code Monkey home page Code Monkey logo

circle-craters's People

Contributors

afrigeri avatar berginjay avatar sbraden avatar wtolson avatar

Stargazers

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

Watchers

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

circle-craters's Issues

Add tags to individual craters and set color of circles

Tags for individual craters is important since often users like to mark craters as secondaries or highly degraded. In ArcGIS CraterTools these categories of craters can either be included or excluded in the exported data.

Customizable scale guide

A measurement scale/guide that includes a default/recommended minimum crater diameter spatial resolution limitation based on number of pixels. The size of the scale can also be set by the user. This feature is similar to what ArcGIS CraterTools has.

Python 3 version of circle crater ?

Thank you for developing this usefull open tool for Qgis. In its current form, the plugin is deprecated for python 3 QGIS based releases. Are you planning moving the plugin to python 3 so it could be used with the most up to date versions ?

Best,
Marianne

Update to Qt5

With the release of QGIS - version 2.8 ‘ Wien’, indicated as a long-term release, Qt5 is now supported. See the QGIS 2.8 changelog. CircleCraters was build using Qt version 4.8.6. While QGIS 2.8 is supposed to be back-compatible with Qt 4.8, it is a good idea to update to Qt5 moving forward.

Diameter and lon/lat elements don't work correctly in a projected CRS.

I'm using circle-craters in QGIS 3.18 on a lunar polar stereographic projection map. The three-point clicking for selecting craters is very nice, but the reported values for diameter, center_lon, and center_lat are bogus.

I'm not sure if it is something I'm doing wrong (highly likely) or if there is something about QGIS that has changed in recent versions that used to allow this plugin to work properly for maps in a projected CRS.

For example, for a crater that should be between 4 and 5 m in diameter (because I can count the LROC pixels) it is reported as being 39301.81753860782 in diameter in the circle-craters reported diameter column, and similarly, the center_lon, and center_lat columns are the center X and Y coordinates in the projected CRS, not actually those coordinates converted to lon and lat, as the column headers might indicate. If I open the QGIS measure tool in its default "Ellipsoidal" setting and draw a diameter, I get a similar bogus value (so clearly circle-craters is relying on the same mechanism to gather a "diameter" that the Measure tool is), but if I change it to "Cartesian" then I get a diameter of 4.6 m, which is what I expect.

Is circle-craters only meant to operate on data with geographic coordinate systems and not on projected coordinate systems? Or is there something newly broken in QGIS that has inadvertently broken the mechanism by which the "diameter", "center_lon," and "center_lat" columns are computed?

I suppose I can always write something that just processes the geometry of the resulting GeoPackage or ShapeFile directly to calculate my own correct diameters and center lon/lat in order to create a file for craterstats, but I sure would like to just use the "Export Data" button that circle-craters provides.

Problems trying to install in 3.16 on windows 10

I am trying to install circle-craters component in QGIS 3.16 on windows 10.
There are not instructions in the github page of this component, so i downloaded a copy on zipfile.

i tried 2 different things:

  1. In QGIS, i went to Pluggings>Manage pluggins and then Install from zip. I located the file and tried the installation. An error was reported:

It was not possible to load the pluggin 'circle-craters-master' due to an ellor colling the method classFactory()

ModuleNotFoundError: No module named 'CircleCraters'
Traceback (most recent call last):
File "C:/PROGRA1/QGIS31.16/apps/qgis-ltr/./python\qgis\utils.py", line 334, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/miguelangel.depablo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\circle-craters-master_init
.py", line 34, in classFactory
from .circle_craters import CircleCraters
File "C:/PROGRA1/QGIS31.16/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/miguelangel.depablo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\circle-craters-master\circle_craters.py", line 66, in
import CircleCraters.resources_rc
File "C:/PROGRA1/QGIS31.16/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'CircleCraters'

Versión de Python: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
Versión de QGIS: 3.16.11-Hannover Hannover, 26cc1c762f

Path to Python:
C:/PROGRA1/QGIS31.16/apps/qgis-ltr/./python
C:/Users/miguelangel.depablo/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/miguelangel.depablo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA1/QGIS31.16/apps/qgis-ltr/./python/plugins
C:\PROGRA1\QGIS31.16\apps\Python37
C:\PROGRA1\QGIS31.16\apps\Python37\Scripts
C:\Program Files\QGIS 3.16\bin\python37.zip
C:\PROGRA1\QGIS31.16\apps\Python37\DLLs
C:\PROGRA1\QGIS31.16\apps\Python37\lib
C:\Program Files\QGIS 3.16\bin
C:\PROGRA1\QGIS31.16\apps\Python37\lib\site-packages
C:\PROGRA1\QGIS31.16\apps\Python37\lib\site-packages\win32
C:\PROGRA1\QGIS31.16\apps\Python37\lib\site-packages\win32\lib
C:\PROGRA1\QGIS31.16\apps\Python37\lib\site-packages\Pythonwin
C:/Users/miguelangel.depablo/AppData/Roaming/QGIS/QGIS3\profiles\default/python'

  1. I unzipped the file in ...Users.qgis2\python folder. Then, in QGIS, pluggins> Pluggins manager, i saw circle-craters in the list of installed pluggings. However, by clicking on the box at the left to activate it, the same error is returned.

What am i doing wrong?

thanks so much!

Include more data export options

Including more data export options for crater counting data may encourage more users. Two options that are desired are .csv and a binned .stats file readable by Craterstats2.

Crater diameters have always zero values with QGIS 2.14

Dear Sarah,

I am trying CircleCraters for the first time and I am having some issues computing the crater diameters with QGIS 2.14.10 LTS Essen in MacOSX 10.11.6 El Capitan.

Basically, all diameters I get have zero values.

Many thanks in advance for your help,
Iñaki

OSX install (make deploy) puts Circle-Craters into the 'default' user profile

I've noticed that installing through the make deploy installs the plug-in into the user's default profile, which may not be the one being used when specific user profiles are enabled.

Maybe moving towards the zipped version of the plug-in, so the user installs the plug-in in the current user profile, will fix this.

Plugijn broken

Couldn't load plugin CircleCraters due an error when calling its classFactory() method

I'm using Ubuntu 15.04.

Updating to QGIS 2.8 breaks area measurements

In QGIS 2.8 the QgsDistanceArea() class does not measure the area of polygons in the user-defined 'area' layer on export. This not only gives incorrect area measurements, but also fails when asked to return only craters that intersect the polygons in the 'area' layer. I'm not 100% sure why these two things are happening in 2.8 when they work in 2.6. It could be two separate issues.

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.