paoletto / qdemviewer

Digital Elevation Model provisioner/ terrain map viewer in Qt / QML / OpenGL
Other
0 stars 0 forks source link

Http sqlite cache wildcard queries #8

Closed paoletto closed 5 months ago

paoletto commented 5 months ago

Ideally support multiple tileservers per url (e.g., [a,b,c,d].openstreetmap.org/...). However, cache needs to be hit for all of the urls. So query needs to be wildcarded. Use additional table to store mapping, load at startup, update incrementally.

paoletto commented 5 months ago

Done. urls such as http://[a,b,c].openstreetmap.org/{z}/{x}/{y}.png are now supported, and each of them will hit the same cache entry.