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

Specifying requests to screen extent (bounding box) for Esri Feature and WFS requests #7331

Open
BenVanzino opened this issue Nov 27, 2024 · 3 comments

Comments

@BenVanzino
Copy link

The current Esri Feature and WFS datasource implementations are not using BBOX extent limits in their API interactions. This is resulting in an unfiltered extent for the web service being requested for every interaction. This is not best practice for working with these kinds of spatial web services and leads to overload and timeout, failure to draw or general poor performance for the user.

Could these datasource interactions with terria use the map state bounding box to filter the interactions with the generated service requests as a fundamental improvement to how they work?

This is how best practice implementations are designed in spatial web applications and allows large feature count API interactions to be robust and performant. These requests are also tiled (3x3 or 4x4) extending slightly beyond current screen extent in many "good" implementations that i've seen.

This issue is repeatedly coming up with client use cases and interactions for our product and jeopardises our decision and use of TerriaJS as the foundation.

@zoran995
Copy link
Contributor

Hi @BenVanzino, thanks for raising the issue.
For large vector datasets, the recommended approach would be using vector tiles as they are primarily designed for that. In the long run, it would be definitely nice to explore this possibility but not sure how huge a priority it is to the team right now.
Currently, TerriaJS loads all data at once and then converts it to vector tiles on the fly, which should prevent performance issues with rendering. If you are experiencing any problems, please let us know.

Could you share some examples of the solutions you are referring to? If you're interested in exploring this further, we'd be happy to review a pull request.

@BenVanzino
Copy link
Author

@AnaBelgun
Copy link
Member

hi @BenVanzino @zoran995 this is the ticket that we'll actively take on as a priority to address the Esri Feature Services (part of the problem). Add support for Esri Vector Tile Services #6909

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants