GithubHelp home page GithubHelp logo

Comments (6)

hamiltoncj avatar hamiltoncj commented on May 28, 2024

@kannes You used the layer geometry for both the start and end of the line. That does not work. You need a beginning and ending point that is not the same point. You need to specify either the beginning or ending or both coordinates from attributes in the table. ne_50m_populated_places.shp does not have such attributes.

I should probably check for this condition and return a clearer error message that the beginning and ending points cannot be the same.

from qgis-shapetools-plugin.

kannes avatar kannes commented on May 28, 2024

Ah, so I cannot use this to make lines between all point pairs of a point layer?

from qgis-shapetools-plugin.

hamiltoncj avatar hamiltoncj commented on May 28, 2024

@kannes No it is not for making lines between different point features in a layer. Each feature must include the beginning and ending points. What is the use case for making lines between all point pairs? I don't know if there is an existing capability in QGIS to do that or not.

from qgis-shapetools-plugin.

hamiltoncj avatar hamiltoncj commented on May 28, 2024

@kannes I improved the error messages for the XY to Lines tool. I am interested in why you need an algorithm that draws lines between each point. It wouldn't be hard to implement an algorithm like that, but I don't know what the need for it would be.

from qgis-shapetools-plugin.

hamiltoncj avatar hamiltoncj commented on May 28, 2024

@kannes Was there anything else you needed with this ticket if not I will go ahead and close it. I added error messages so the user knows not to use the layer geometry for both the beginning and ending points.

from qgis-shapetools-plugin.

kannes avatar kannes commented on May 28, 2024

Thanks! The motivation was about imaginary flight routes between imaginary airports.

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.