GithubHelp home page GithubHelp logo

Comments (6)

hamiltoncj avatar hamiltoncj commented on May 24, 2024 1

@pcav Just to close out this issue, and since geographiclib has been included into QGIS, I have taken some steps to get away from including the library. Because I have to support the older versions of QGIS I still have geographiclib included, but I first check to see if QGIS has the library or not before I include the external lib. Once I no longer support the older QGIS versions with Shape Tools plugin updates, then I will drop my version of geographiclib.

For our QGIS users I consider it unacceptable for a plugin to require the user to install additional libraries into QGIS so I try to avoid that,. If there is some capability that is really needed by one of my plugins that requires a library not included with QGIS, then it is better for my users to include the library with the plugin. I know that is not your preference, but my main objective it to make it easy for my users.

from qgis-shapetools-plugin.

Asratum avatar Asratum commented on May 24, 2024

Submitted a ticked on OSGeo4W for library to be included:
https://trac.osgeo.org/osgeo4w/ticket/621

from qgis-shapetools-plugin.

pcav avatar pcav commented on May 24, 2024

Thanks!

from qgis-shapetools-plugin.

hamiltoncj avatar hamiltoncj commented on May 24, 2024

@pcav @Asratum
I certainly welcome geographiclib to be an integral part of QGIS, but it needs to be included by default and not one of the optional packages in both the OSGeo4W installer as well as the QGIS standalone installers.

It may have been better to have considered the C version of geographiclib with python wrappers. The C version is probably faster and is more complete. What do you think?

from qgis-shapetools-plugin.

pcav avatar pcav commented on May 24, 2024

it is now included, my interpretation is that it will be present in the installers for the next releases, both point and major. better to make sure, asking in qgis-dev or in the ticket.
as for the C verison, should this be included as a dependency, or?

from qgis-shapetools-plugin.

hamiltoncj avatar hamiltoncj commented on May 24, 2024

@pcav @Asratum
I am personally a little confused with all the versions of geographiclib. The C++ version is by far the most complete with all kinds of capabilities which I would make use of if I had them. See:

https://geographiclib.sourceforge.io/html/index.html

The other language implementations just include the primary geodesic functionality. For Python see

https://geographiclib.sourceforge.io/html/python/code.html

For the C++ version notice all the utility functions as well is gravity, geoid height, magnetic models, etc, but I don't know if there are python wrappers for all of these and actually I haven't worked with interfacing C++ to python so I don't know how complicated that is. PROJ now includes at least part of geographiclib as well and probably has everything that the pure python version has. If python wrappers could be included with PROJ then the extra python library might not be needed.

If someone wanted to investigate the best solution for including geographiclib that would be great. I am not sure including the Python version is the best option.

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.