Coder Social home page Coder Social logo

ghini / distancematrixtocoords Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 1.12 MB

QGIS plugin: Calculate point positions in 2D given a network of mutual horizontal distances and some form of geographic reference information

Makefile 10.76% Python 81.72% Batchfile 3.51% Shell 2.52% QML 1.33% QMake 0.16%

distancematrixtocoords's Introduction

ghini.server

Ghini is a suite of software programs, helping the management and presentation of botanical data. It aims at botanical gardens, plant collectors, nurseries, and their visitors.

ghini-family.png

This is the central ghini.server, serving data to all other Ghini family members. ghini.server handles data from one garden, or for several.

  • in combination with the included ghini.web client, it lets logged in garden conservators plan their work, produce logs, and review their garden history.
  • in combination with the ghini.web web client, it provides non logged in visitors a read-only access to portions of the database.
  • in combination with ghini.pocket, it lets gardeners streamline their daily activities, and make it visible to the garden conservator.
  • in combination with ghini.tour, it lets visitors find their way in the garden.
  • ghini.server can cooperate with other instances of itself, contributing selected data to a ghini.server instance running as a garden aggregator. A ghini.web client accessing a garden aggregator server will now show data from several gardens at the same time.

distancematrixtocoords's People

Contributors

mfrasca avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

distancematrixtocoords's Issues

write point id to point

when we add point features, we should store the point ID into them, which is the way the reference points are referred to also in the software.

user interface to choose layer

we expect points to be in a layer and we should let the user choose which layer to work on.
in the first working prototype, the layer name is hard coded.

write better unit tests for most_connected_3clique

the function most_connected_3clique has only unit tests based on data which is far too complex to make for a real unit test. please rewrite them. also, I have the impression, given the problems we had with the example grid for issue #5, that the definition of most connected has to be reviewed. I think we don't want to just "reach" the largest amount of points, but we want to consider a point "reached" only if it is reached from all three points in the clique.

parametrize on id field

the two actions related to the plugin assume a key field, while we could also let the user define which field has to be considered the key. not a big deal, but I did not do it yet.

user interface to choose data file

in the initial working prototype, data is hard coded in the plugin itself.
we need to let the user load the distances from some file in some reasonable format.

complete GPS information with mutual distances

I have the following problem at hand:

  • ~1200 plants locations taken by GPS,
  • these 1200 plants occupy just ~460 different positions,
  • we wish to correctly place their plants on the map,
  • I can ask the people who took these locations to construct a network of distances.

without mutual distances, the best we can do is to place plants at the GPS positions, but this will mean that some trees occupy the same spot, and that some spots are occupied by as many as 25 trees.

I can do the following:

  • construct a "frame", using the mutual distances information, but lacking correct georeferentiation,
  • define as target function the sum of the distances between each plant as in the frame and their corresponding point as from the measured GPS positions.
  • find the rigid transformation that will minimise the target function.
  • use the now georeferenced "frame" to correct the plant positions.

at a later stage we could also take into account, in the definition of the target function, the error that the GPS machine associated to the reference.

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.