Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maps] image layer #147119

Closed
Tracked by #154870
nreese opened this issue Dec 6, 2022 · 8 comments
Closed
Tracked by #154870

[Maps] image layer #147119

nreese opened this issue Dec 6, 2022 · 8 comments
Labels
enhancement New value added to drive a business result Feature:Maps impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@nreese
Copy link
Contributor

nreese commented Dec 6, 2022

Add a layer allowing users to upload an image, png, and assign lon-lat bounds for image. Maps would display the image at the assigned location.

Use case: user has a factory floor map that they would like to display in Maps and overlay data onto. The only way to do this today is with external tile server like geoserver and additional setup, hurting adoption.

@nreese nreese added enhancement New value added to drive a business result Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas Feature:Maps labels Dec 6, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@ThomThomson
Copy link
Contributor

Would this image be overlayed on the entire world map? If so, I wonder if we could allow authors of a map to limit the bounds within which users can scroll or zoom.

Not sure if that's already possible, but I could see really cool use-cases for it if the image was geographically correctly located and sized, and the user wasn't able to pan too far outside the bounds of the image it could have some awesome use-cases!

@nreese
Copy link
Contributor Author

nreese commented Dec 6, 2022

Would this image be overlayed on the entire world map? If so, I wonder if we could allow authors of a map to limit the bounds within which users can scroll or zoom.

Image would be limited to provided lon-lat bounds. For example, if user uploaded theme park map in Orlando FL, the image would only be displayed in that tiny area in Orlando and not strechted to fit the entire globe. That way you could overlay GPS positions on top of your image and they would line up.

@ThomThomson
Copy link
Contributor

ThomThomson commented Dec 6, 2022

Ah, sorry I meant if the rest of the world map would still exist outside the provided image bounds - seems like the answer is yes!

On second thought - authoring options to limit the pan and zoom probably wouldn't be necessary because we can already fit the bounds / zoom to the data, so if it the GPS positions were limited to ones inside the theme park map, we'd get that functionality for free. Plus if something left the theme park, the analysts would probably want to know.

@nreese
Copy link
Contributor Author

nreese commented Dec 6, 2022

Ah, sorry I meant if the rest of the world map would still exist outside the provided image bounds - seems like the answer is yes!

That is correct, showing the basemap layer is not coupled to this feature request. The basemap layer is just a regular layer (that is added by default for convenience), but it can be always be removed.

Screen Shot 2022-12-06 at 1 07 18 PM

@nickpeihl
Copy link
Member

If I understand correctly, the core requirement would allow the user to warp the image by dragging the four corners of the image (control points) to their respective positions on the world map. This might work well enough for small areas or images that don't need high precision.

Users with large area images or higher precision requirements might benefit from the ability to set as many control points as necessary to warp the image to fit the world map coordinate system. For example, https://github.com/timwaters/mapwarper/ is a project that allows users to add lots of control points in a web interface. That may or may not be overkill for this feature.

@desean1625
Copy link
Contributor

desean1625 commented Dec 8, 2022

Something nice to have would be the ability to utilize a geo_shape from the document that has the bounds of an orthorectified image and another column as the source. But that is a very niche use case.

@nreese nreese added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label Jan 26, 2023
@nreese
Copy link
Contributor Author

nreese commented Apr 12, 2023

In order to provide better transparency of priorities, issues that will not be prioritized within the next 24 months are being closed.

Tracking request in Maps ice box #154870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Maps impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

5 participants