Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Pass resolution when requesting features in an extent #1812
This PR is opened for discussion. The goal is to explore options for supporting tiled and server-simplified vector data.
In a tiled vector scheme, it is likely that the tiles covering large areas will contain simplified versions of the features compared to tiles covering small areas. If tiles covering large areas contained fully detailed features they could become very large indeed. This means that a single feature will be present in multiple tiles, and at different resolutions. This means that when rendering the feature, we have to somehow decide which version to use.
Similarly, when requesting vector data it can be helpful to specify the desired resolution so that the server can perform simplification.
There are multiple possibilities:
This PR suggests a new function (currently stubbed out)
Comments welcome. It's not obvious to me what the best approach is here.