"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 | ||
ogo12:postgis [2013/03/13 17:40] 127.0.0.1 external edit |
ogo12:postgis [2018/05/15 17:18] (current) |
||
---|---|---|---|
Line 13: | Line 13: | ||
<code> | <code> | ||
SELECT AsText(ST_Transform(GeometryFromText('POINT(833838 295935)', 21781 ), 4326)); | SELECT AsText(ST_Transform(GeometryFromText('POINT(833838 295935)', 21781 ), 4326)); | ||
+ | </code> | ||
+ | * Utilisation de ST_AsGeoJSON pour faciliter le dialogue avec le client web (ex. OpenLayers) | ||
+ | <code> | ||
+ | SELECT genre, ST_AsGeoJSON(geom) FROM test WHERE genre LIKE 'batiment%'; | ||
</code> | </code> | ||