question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AOI buffers disappear after running a second analysis

See original GitHub issue

Steps

I have encountered a couple of issues while replicating the 2nd demo @cartodave made in #the-retraining:

  • Create a map with points dataset (layer1).
  • Run AOI analysis in layer1.

aoi1

  • Continue the workflow analysis in layer1. This time “Enrich from DO”. I select United States as COUNTRY, Transportation as MEASUREMENT and Commuters by Subway or Elevated as SEGMENTS.

aoi2

  • The buffers disappear. In addition, the values from the DO are really low. According to @AbelVM it is because the values are normalized. But another explanation could be that the second analysis is using the point geometry instead of the buffer geometry to extract the DO data.

commuters

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
viddocommented, Aug 2, 2016

Debugged with @rochoa in-person:

I see queries to the SQL API to retrieve the geometry type before the node is set to ready status.

This was a false lead, separate request done by the table-view, it has no affect on how the layer is rendered.

Anyway, @javisantana @ramiroaznar we can’t reproduce the issue anymore, and unfortunately we’re not sure why. 😕 For now we’ll close it, feel free to re-open if this happens again (and hopefully have some more data/STR to go on).

Note that an exported .carto file that have undesired layer styles (as the one sent offline for this issue) will always render the things wrong, removing/adding a node will update the styles accordingly though.

1reaction
viddocommented, Jul 27, 2016

Been debugging @ramiroaznar’s map together with @javisantana , what we found was that when the maps API returns status “ready”, and as such we do a lookup of the data to get the geometry type, the SQL API call returns no data even if there should be. If checking a moment later the data is there, so definitely a race condition. Seems like the maps API returns ready too early, so fixing that should fix this issue.

There’s also a 2nd issue, which is that we should probably not set simple styles if a geometry is not found, so will change that separately. edit: 👉 #9146

Read more comments on GitHub >

github_iconTop Results From Across the Web

Post-Reflow AOI Process - SURFACE MOUNT PROCESS
We will discuss, (No Good) Conveyors, NG Workstations, NG Buffers, and multi magazine unloaders. If you are currently using a batch AOI, then...
Read more >
Statistical Guarantee Optimization for AoI in Single-Hop ... - arXiv
First, analysis and optimization of AoI violation probability under FCFS is an open problem. Second, it is not only an interesting problem ...
Read more >
AOI (HPR) -- Stop and Start the Database - TechDocs
In a data sharing environment, the AOI command is issued with the GLOBAL operand, ... Each database is stopped before starting the recovery....
Read more >
Need Projection Help to Buffer Lines in QGIS
Now you can run the buffer with the proper units: Open the "Vector / Geoprocessing / Buffer" dialog, choose the newly created layer,...
Read more >
- aoiconftool
Optimizing an application after analysis; Configuring shared library support; Running memory-analyzing tools from the command line; Attaching Memory ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found