KnowWhereGraph / kwg-faceted-search

Knowledge Explorer: The search interface to KnowWhereGraph
http://stko-kwg.geog.ucsb.edu
3 stars 0 forks source link

Large geometry sizes are slow #349

Open ThomasThelen opened 1 year ago

ThomasThelen commented 1 year ago

Some place types only have multi line geometries, but we show them as points on the map. To do this, we retrieve the full geometry, find the center point, which we then put on the map. This works, but geometries can be quite large which results in slow query return times. On the 'Place' tab, we retrieve nearly 1mb per 20 results. We may be able to simplify the geometries with the simplify geosparql function.