EmaDozer
EmaDozer
I tried it also without the persistentCache, made not really a difference.
I added another sample where you can enable 2 different layers (size 1MB and 3.6MB). Currently its hard to use Mapsui with shapes on WPF or maybe i am missing...
There is no update yet. Performance is still a problem. Can anyone put us on the right track? Maybe there is a starting point/method to investigate the problem. I would...
@pauldendulk Thanks for the detailed answer! I already investigated some of your mentioned points: * How does it perform without the RasterizingTileLayer: There was a minimal improvement but it was...
I have examined the code a little further. The Mapsui.Nts.Providers.Shapefile.ReadGeometry(uint oid) method consumes a lot of performance. For the 1mb shape in the test project I've attached, it's mainly this...
One request (loading all data) can take up to 50ms. But i dont know for sure how many requests are made for map changes (zooming, panning). I would estimate it...
So for test purposes i re-wrote some code in the ShapeFile class to cache the data, which leads to
@pauldendulk I will provide the sample on monday. The test to load everything at once i will not merge because it was only for testing purposes. If you need something...
@charlenni Thanks for the detailed investigation. I did some research which approaches are used to reduce the resolution based on the zoom level. The Polygon Simplification with the Douglas-Peucker Algorithm...
Its much simpler than i thought. Net.TopologySuite has the DouglasPeuckerSimplifier class, which simplifies geometries based on the resolution/zoom. I use ```csharp var simplifiedGeometry = DouglasPeuckerSimplifier.Simplify(feature.OriginalGeometry, fetchInfo.Resolution * 2); ``` inside...