"The explosive growth of the GeoWeb and geographic information has made GIS powerful media for the general public to communicate, but perhaps more importantly, GIS have also become media for constructive dialogs and interactions about social issues." - Sui & Goodchild
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
geoinf14:postgis1 [2014/12/09 11:48] oertz [Premiers pas] |
geoinf14:postgis1 [2018/05/16 10:05] (current) |
||
---|---|---|---|
Line 38: | Line 38: | ||
) | ) | ||
</code> | </code> | ||
- | - Qui est dans le bâtiment 2 ? -> ST_Within<code>...</code> | + | - Qui est dans le bâtiment 2 ? -> ST_Within<code> |
+ | SELECT * FROM test WHERE genre like 'pieton%' | ||
+ | AND ST_WithIn(test.the_geom, (SELECT the_geom FROM test WHERE genre LIKE 'batiment2')); | ||
+ | </code> | ||
//(source: [[http://www.davidgis.fr|Jean David Techer]])// | //(source: [[http://www.davidgis.fr|Jean David Techer]])// |