"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 | |||
ogo11:gql:exo1 [2014/05/15 14:04] oertz [GQL :: EXO1] |
ogo11:gql:exo1 [2014/05/15 14:13] oertz [GQL :: EXO1] |
||
---|---|---|---|
Line 19: | Line 19: | ||
INSERT INTO test VALUES ( 8, 'bordure 1 route', ST_GeometryFromText( 'LINESTRING(1 85,50 85)', -1 ) ); | INSERT INTO test VALUES ( 8, 'bordure 1 route', ST_GeometryFromText( 'LINESTRING(1 85,50 85)', -1 ) ); | ||
INSERT INTO test VALUES ( 9, 'bordure 2 route', ST_GeometryFromText( 'LINESTRING(1 92,50 92)', -1 ) ); | INSERT INTO test VALUES ( 9, 'bordure 2 route', ST_GeometryFromText( 'LINESTRING(1 92,50 92)', -1 ) ); | ||
- | </code> | ||
- | |||
- | Comment sont stockées les géodonnées ? | ||
- | <code> | ||
- | SELECT AsText(the_geom), Srid(the_geom), the_geom FROM pedestrians; | ||
- | </code> | ||
- | d'où la syntaxe "lisible" que nous utilisons ci-dessus : | ||
- | <code> | ||
- | SELECT ST_GeometryFromText('POLYGON((10 10,40 20,35 8,12 4,10 10))', -1 ); | ||
</code> | </code> | ||
===== Premiers pas en GQL ===== | ===== Premiers pas en GQL ===== |