mach0 / polystrip Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
In QGIS 3.4.4
When executing plugin
WARNING Traceback (most recent call last):
File "C:/Users/xxx/AppData/Roaming/QGIS/QGIS3\profiles\xxx/python/plugins\polystrip\poly_strip.py", line 191, in run
self.dlg.polystrip(layer)
File "C:/Users/xxx/AppData/Roaming/QGIS/QGIS3\profiles\xxx/python/plugins\polystrip\poly_strip_dialog.py", line 51, in polystrip
getAllPages(layer, width, height, srid, coverage)
File "C:/Users/xxx/AppData/Roaming/QGIS/QGIS3\profiles\xxx/python/plugins\polystrip\poly_strip_alg.py", line 69, in getAllPages
azimuth = startpoint.asPoint().azimuth(endpoint.asPoint())
ValueError: Null geometry cannot be converted to a point.
Im not a programist, I don't know what to do with that.
Hi Werner,
as discussed on the OSGEO mailinglist I wrote a plugin like this about two years ago:
http://osgeo-org.1560.x6.nabble.com/legal-aspects-of-QGIS-plugins-td5311034.html
https://vimeo.com/205947300
In my plugin there are some extras like progress bar and the possibility to select the North-South and East-West orientation of the stripmap polygons. Apart from that I have a second sub-tool to recalculate the angles of the polygons after the user has done his fine-tuning (moving/rotating of stripmap polygons).
If you are interested in having a look at my plugin to use parts of it I can send you the code.
regards,
Thomas
When clicking on OK, apparently nothing happens.
Same thing for OK.
Thanks for checking.
2021-04-23T21:18:50 WARNING Traceback (most recent call last):
File "E:\Portable\QGIS-3.4.11-64bit\qgisconfig\profiles\default/python/plugins\polystrip\poly_strip.py", line 244, in run
self.dlg.polystrip(layer)
File "E:\Portable\QGIS-3.4.11-64bit\qgisconfig\profiles\default/python/plugins\polystrip\poly_strip_dialog.py", line 57, in polystrip
get_all_pages(layer, width, height, srid, coverage, covstart)
File "E:\Portable\QGIS-3.4.11-64bit\qgisconfig\profiles\default/python/plugins\polystrip\poly_strip_alg.py", line 79, in get_all_pages
azimuth = startpoint.asPoint().azimuth(endpoint.asPoint())
ValueError: Null geometry cannot be converted to a point.
Hi;
Great tool! been using it to make map sheets along streets.
Something I noticed is that the last polygon is about 45 degrees off of the strip created by all the other polygons and it doesn't cover the final section of line. I am pretty sure it is the last polygon as defined by the digitized line direction.
Easy fix if you are only doing a few lines at a time, can be an issue if using this on larger numbers.
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.