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.

Pick/drillpick imagery layer

See original GitHub issue

This was requested on the forum to be able to use something like scene.pick(mousePosition) and get which imagery layer(s) are at that location:

Most of our use cases are about picking local imagery and doing things with them. They often overlap, but can also stand on their own, and there’s functionality associated with each, even a multitude (like a spreadsheet associated with several orthos spread out across a local area).

I think this should be fairly straightforward to compute in your application, given that you know the extents of the imagery ahead of time, can convert the mouse position to a location on the globe, and see which rectangles have that position inside, but perhaps this is something that can be built-in if it’s a common use case?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
shelteritcommented, Mar 19, 2020

And just to add some additional .2$, as a developer I’d love to leave the Cesium map to Cesium, and so if I click on the map, Cesium should be able to tell me what I clicked on. That it only does this for some things on the map seems a bit odd since Cesium put those things there.

Yes, I can write all sorts of code to simulate a click handler, and we already have a layers stack so I can work it out from there. But it would be great if, say, the drillPick(…) can return entities, imageProviders, tileSets, etc. so that my interaction point with Cesium is limited and focused. Makes for better code. 😃

0reactions
lilleysecommented, Jul 26, 2021

Opened a separate issue for pixel perfect picking: https://github.com/CesiumGS/cesium/issues/9695

Read more comments on GitHub >

github_iconTop Results From Across the Web

Imagery layers, tile caches, and map image layers—ArcGIS ...
These layers are image services generated from one or more image files. If a tiled imagery layer is created using multiple images, the...
Read more >
How Can Tiled Imagery Layers from ArcGIS Image for ... - Esri
Tile cache layers created from images with four raster bands, thematic imagery with unique values, or temperature imagery with floating point values cannot...
Read more >
ArcGIS Image for ArcGIS Online: Work with Tiled Imagery
In this video, explore image enhancement and analysis capabilities available with tiled imagery layers. Unlike tile cache, tiled imagery l ...
Read more >
Create imagery layers—Portal for ArcGIS
Imagery layers can be created using supported raster data types, written to a raster store, and published as image services. To create imagery...
Read more >
54 Guest Post Websites in the Badminton Niche
Website domain Moz DA Moz spam score TrustFlow SEM keywords SEM traffic FB lik... lat******com 72 1 20 222141 46855 8110... bad**************com 65 3 16...
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