Giter VIP home page Giter VIP logo

Comments (5)

hamiltoncj avatar hamiltoncj commented on May 30, 2024

@uppalavamsi Thank you for taking the time to offer all these suggestions. This is what helps drive the development of tools and I find such suggestions very useful.

ShapeTools is using geodesic math for all its calculations and I am using a python library for it. This may be part of the slowness, but I will investigate to see if there are speed improvements that I can implement.

Thanks once again.

from qgis-shapetools-plugin.

hamiltoncj avatar hamiltoncj commented on May 30, 2024

@uppalavamsi Do you have an example of a tool that is fast? I am guessing that most tools are not doing geodesic calculations which takes more time, but I'm sure there are some optimizations that I can do.

Thanks

from qgis-shapetools-plugin.

uppalavamsi avatar uppalavamsi commented on May 30, 2024

from qgis-shapetools-plugin.

hamiltoncj avatar hamiltoncj commented on May 30, 2024

@uppalavamsi I have made a slight change with the Shape Tools pie shape. You can now specify the number of degrees before another point is added in the arc of the pie. Originally, I set that to 4. I now have it set by default to 6, but you can enter another number. The larger the number the faster it will be, but the quality of the arc will go down.

The geodesic calculations takes time. If the map layer is not a geographic coordinate system and the distances are small then I could consider just doing geometric calculations. That could speed up calculations even more.

This addition is in the QGIS 3.0.5 version.

from qgis-shapetools-plugin.

hamiltoncj avatar hamiltoncj commented on May 30, 2024

I'm going to close this because I don't know of anything more I can do. I have been able to get some speed improvements. Geodesic calculations are slower than euclidean calculations, but this plugin is about geodesic. If the QGIS team were to include some of these capability into the core then there could be more improvements.

from qgis-shapetools-plugin.

Related Issues (20)

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.