Comments (6)
@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.
Submitted a ticked on OSGeo4W for library to be included:
https://trac.osgeo.org/osgeo4w/ticket/621
from qgis-shapetools-plugin.
Thanks!
from qgis-shapetools-plugin.
@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.
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.
@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)
- cannot use different ellipsoid HOT 4
- Create shapes for selected features and retain input geometries in output file HOT 3
- support other language HOT 9
- Plug-In installation not working HOT 2
- Arc wedge and donut creation combined HOT 6
- "XY to lines" between the points of a layer fails HOT 6
- idsbreak.svg can't be found on a case-sensitive file system HOT 4
- Add field value or Data Defined Override to scale factor for Geodesic Transformation Tool HOT 4
- Python error when edit in place is active HOT 3
- Can I call createEllipse from python shell in QGIS HOT 1
- Unable to remove dropdown buttons from toolbar HOT 3
- Improvement suggestion: Observe QGIS settings for preferred distance units HOT 2
- Improvement suggestion: provide additional format for azimuth HOT 3
- Ability to input grid reference value instead of lat/long HOT 2
- Minor usability improvement suggestions for Geodesic Measure Tool HOT 3
- Issue with creating pie wedges in Shape Tools for Telecom sectors creation HOT 15
- Couldn't load plugin 'shapetools' due to an error when calling its classFactory() method HOT 1
- User info suggestion HOT 2
- contour line free hand design HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qgis-shapetools-plugin.