• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

catmaid / CATMAID / 2173
46%
master: 45%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 06 Jul 2016 08:38PM UTC
Jobs 1
Files 79
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2173

push

travis-ci

aschampion
Node: spatially query connectors and links

Previously, connectors were queried based on whether they were related
to a treenode in the bounding box or were in a z-section of the bounding
box. This had several downsides:

1. Joining a large set of treenodes into links when few would actually
   exist
2. Links where the connector and treenode were both outside the bounding
   box were omitted even if the link intersected the bounding box
3. Querying connectors by section axis does not generalize to arbitrary
   planes

Instead, query links and connectors spatially via a PostGIS edge table
as is done for treenodes.

There are several possible implementations. The one in this commit
creates an edge table for treenode_connectors that:

1. Indexes based on project, treenode and connector, not
   treenode_connector's ID (which is not used elsewhere and is
   unindexed)
2. Deduplicates edges for multiple treenode_connectors for
   the same treenode and connector but different relations
3. Allows treenode to be NULL, so that connectors can also be added to
   this edge table like root nodes in the treenode_edge table

This increases complexity of the edge table maintenance triggers
substantially, but prevents the need to separately query for connectors
without links.

5528 of 11944 relevant lines covered (46.28%)

0.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2173.1 06 Jul 2016 08:38PM UTC 0
46.28
Travis Job 2173.1
Source Files on build 2173
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2173
  • 0b332cd5 on github
  • Prev Build on issues/1085-treenode-connector-spatial-query (#2171)
  • Next Build on issues/1085-treenode-connector-spatial-query (#2178)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc