Need help to optimize potentially erroneous spatial SQL query
What if you did the calculation each time you added a new shape, then stored just the intersections in a table? Now your query is instantaneous.
What if you did the calculation each time you added a new shape, then stored just the intersections in a table? Now your query is instantaneous.