Giter Club home page Giter Club logo

featuregridcreator's People

Contributors

raymondnijssen avatar rduivenvoorde avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

raymondnijssen

featuregridcreator's Issues

Serious: the plugin locks QGIS

After starting the analysis, the plugin apparently locks QGIS, and has no other choice than shutting it down. Nothing shown on the shell.

Support for additional geometry type QGis.WKBPolygon25D

It was trivial to add this in, but is there a reason that it was excluded from the accepted geometry types? I'm new to GIS in general, so I wouldn't be surprised if there was some issue with 2.5D, but I can't immediately think of why it would matter in this instance.

Changing XY Distance Direction to work with cm

Hey

I'm new to this so may be going about this the wrong way. I'm using this tool to create parking spaces of length 5.5m by 2.5m width taken from a line layer. Is there a way that the Distance X direction can handle cm instead of metres. My main issue is that creating 5.5m x 2.5m boxes means that I have to choose 5m X direction which overlaps the boxes or 6m which leaves a gap between boxes.

Any help would be appreciated.

Thanks

Better selection of vectors?

As I understand it, currently an use must first select a point layer, the open the plugin then select a polygon layer, then run the analysis. It seems more obvious, and more coherent with most other plugins, to show a dropdown of the points and one of the polygons loaded on the canvas.

cannot install plugin

On Windows 10, QGIS 3.14 (installed using the stand-alone installer) installing the plugin yields the following error message:

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

TypeError: qRegisterResourceData(int, bytes, bytes, bytes): argument 2 has unexpected type 'str'
Traceback (most recent call last):
File "C:/PROGRA1/QGIS31.14/apps/qgis/./python\qgis\utils.py", line 334, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/brp/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FeatureGridCreator_init
.py", line 43, in classFactory
from .grid_creator import FeatureGridCreator
File "C:/PROGRA1/QGIS31.14/apps/qgis/./python\qgis\utils.py", line 743, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/brp/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FeatureGridCreator\grid_creator.py", line 74, in
from grid_creator_dialog import FeatureGridCreatorDialog
File "C:/PROGRA1/QGIS31.14/apps/qgis/./python\qgis\utils.py", line 743, in _import
mod = builtin_import(name, globals, locals, fromlist, level)
File "C:\Users\brp\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\FeatureGridCreator\grid_creator_dialog.py", line 30, in
os.path.dirname(file), 'grid_creator_dialog_base.ui'))
File "C:/PROGRA1/QGIS31.14/apps/qgis/./python\qgis\PyQt\uic_init
.py", line 36, in __loadUiType
return _PyQtLoadUiType(*args, **kwargs)
File "C:\PROGRA1\QGIS31.14\apps\Python37\lib\site-packages\PyQt5\uic_init
.py", line 201, in loadUiType
exec(code_string.getvalue(), ui_globals)
File "", line 142, in
File "C:/PROGRA1/QGIS31.14/apps/qgis/./python\qgis\utils.py", line 743, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/brp/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\resources_rc.py", line 1251, in
qInitResources()
File "C:/Users/brp/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\resources_rc.py", line 1243, in qInitResources
qt_resource_name, qt_resource_data)
TypeError: qRegisterResourceData(int, bytes, bytes, bytes): argument 2 has unexpected type 'str'

Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS version: 3.14.15-Pi Pi, d5114d2cfa

AttributeError: type object 'UnitType' has no attribute 'Meters'

The latest version returns an error as QGis.UnitType.Meters is not recognized.

2019-02-16T15:52:25	1	Traceback (most recent call last):
			  File "C:/Users/XXX/.qgis2/python/plugins\FeatureGridCreator\grid_creator.py", line 450, in show_create_features_dialog
			    if self.init_create_features_dialog():
			  File "C:/Users/XXX/.qgis2/python/plugins\FeatureGridCreator\grid_creator.py", line 489, in init_create_features_dialog
			    if layer.crs().mapUnits() != QGis.UnitType.Meters:
			AttributeError: type object 'UnitType' has no attribute 'Meters'

The Python enum is QGis.Meters, see: http://geoapis.sourcepole.com/qgispyapi/qgis#QGis.UnitType

Cartesian vs Ellipsoidal

Hi, I have been using your plug in and noticed that it will only use a Cartesian projection for the distances between holes. Is there a way to modify this to utilize Ellipsoidal instead? Thanks

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.