[Gfoss] Novità SpatiaLite

a.furieri a lqt.it a.furieri a lqt.it
Mer 13 Ott 2010 11:12:09 CEST


Notizia interessante per gli SpatiaLite fans: 
l'ultima release di SQLite (3.7.3) supporta 
un nuovo meccanismo che consente di 
semplificare le queries SQL basate su 
Spatial Index R*Tree.

qua ci trovate una spiegazione più estesa: 
http://groups.google.com/group/spatialite-users/browse_thread/thread/a8fdbe35e44ce8eb

in pillole, la nuova sintassi è:

SELECT * 
FROM GeoNames 
WHERE ROWID IN ( 
    SELECT pkid 
    FROM idx_GeoNames_geometry 
    WHERE pkid MATCH 
    RTreeIntersects(11.9, 43.0, 12.4, 43.5) 
);

rilascio imminente :-)

ciao Sandro


Maggiori informazioni sulla lista Gfoss