Git Product home page Git Product logo

polystrip's Introduction

Hi there ๐Ÿ‘‹

๐Ÿ“ˆ GitHub Stats

Werner's GitHub Stats

polystrip's People

Contributors

mach0 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

polystrip's Issues

Python error - plugin doesn't work

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.

Join effords

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).

grafik

If you are interested in having a look at my plugin to use parts of it I can send you the code.

regards,
Thomas

No result shown

When clicking on OK, apparently nothing happens.
Same thing for OK.
Thanks for checking.

error

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.

Last Polygon is off angled

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.

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.