Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider moving this to Processing #5

Closed
pcav opened this issue Jan 7, 2015 · 4 comments
Closed

Please consider moving this to Processing #5

pcav opened this issue Jan 7, 2015 · 4 comments

Comments

@pcav
Copy link

pcav commented Jan 7, 2015

As a submodule, so it can be used in more complex workflow

@zsiki
Copy link
Owner

zsiki commented Jan 7, 2015

After QGIS 2.4 this plugin has lesser relevance, the GEOS pointOnSurface function has been bound to Python QgsGeometry.poinOnSurface. Changing the Vector/Geometry Tools/Polygon Centroid to use pointOnSurface instread of centroid function is another alternative to integrate this plugin into QGIS.
I'll check how to create a new toolbox algorithm. Thanks.

@zsiki
Copy link
Owner

zsiki commented Jan 7, 2015

I've created a processing python script from the plugin code, it can be found in realcentroid_algorithm.py.
Is there a repository to collect these scripts?

@zsiki zsiki closed this as completed Jan 7, 2015
@pcav
Copy link
Author

pcav commented Jan 8, 2015

@zsiki
Copy link
Owner

zsiki commented Jan 8, 2015

Thanks Paolo, I've made a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants