- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/workshop-foss4g/postgis-functions.rst
r62 r1 1 1 .. _postgis-functions: 2 2 3 A nnexes A : Fonctions PostGIS3 Appendix A: PostGIS Functions 4 4 ============================= 5 5 6 Construct eurs7 ------------ -6 Constructors 7 ------------ 8 8 9 :command:`ST_MakePoint(Longitude, Latitude)` 10 Ret ourne un nouveau point. Note : ordre des coordonnées (longitude puislatitude).9 :command:`ST_MakePoint(Longitude, Latitude)` 10 Returns a new point. Note the order of the coordinates (longitude then latitude). 11 11 12 12 :command:`ST_GeomFromText(WellKnownText, srid)` 13 Ret ourne une nouvelle géométrie à partir d'un représentation au format WKT et un SRID.13 Returns a new geometry from a standard WKT string and srid. 14 14 15 15 :command:`ST_SetSRID(geometry, srid)` 16 Met à jour le SRID d'une géométrie. Retourne la même géométrie. Cela ne modifie pas les coordonnées de la géométrie, cela met simplement à jour le SRID. Cette fonction est utile pour reconditionner les géométries sans SRID.16 Updates the srid on a geometry. Returns the same geometry. This does not alter the coordinates of the geometry, it just updates the srid. This function is useful for conditioning geometries created without an srid. 17 17 18 18 :command:`ST_Expand(geometry, Radius)` 19 Ret ourne une nouvelle géométrie qui est une extension de l'étendue de la géométrie passée en argument. Cette fonction est utile pour créer des enveloppes pour des recherches utilisant les indexations.19 Returns a new geometry that is an expanded bounding box of the input geometry. This function is useful for creating envelopes for use in indexed searches. 20 20 21 Sorties21 Outputs 22 22 ------- 23 23 24 24 :command:`ST_AsText(geometry)` 25 Ret ourne une géométrie au format WKT.25 Returns a geometry in a human-readable text format. 26 26 27 27 :command:`ST_AsGML(geometry)` 28 Ret ourne la géométrie au format standard OGC :term:`GML`.28 Returns a geometry in standard OGC :term:`GML` format. 29 29 30 30 :command:`ST_AsGeoJSON(geometry)` 31 Ret ourne une géométrie au format "standard" `GeoJSON <http://geojson.org>`_.31 Returns a geometry to a standard `GeoJSON <http://geojson.org>`_ format. 32 32 33 Me sures34 ------- 33 Measurements 34 ------------ 35 35 36 36 :command:`ST_Area(geometry)` 37 Ret ourne l'aire d'une géométrie dans l'unité du systÚme de référence spatiale.37 Returns the area of the geometry in the units of the spatial reference system. 38 38 39 39 :command:`ST_Length(geometry)` 40 Ret ourne la longueur de la géométrie dans l'unité du systÚme de référence spatiale.40 Returns the length of the geometry in the units of the spatial reference system. 41 41 42 42 :command:`ST_Perimeter(geometry)` 43 Ret ourne le périmÚtre de la géométrie dans l'unité du systÚme de référence spatiale.43 Returns the perimeter of the geometry in the units of the spatial reference system. 44 44 45 45 :command:`ST_NumPoints(linestring)` 46 Ret ourne le nombre de sommets dans une ligne.46 Returns the number of vertices in a linestring. 47 47 48 48 :command:`ST_NumRings(polygon)` 49 Ret ourne le nombre de contours dans un polygone.49 Returns the number of rings in a polygon. 50 50 51 :command:`ST_NumGeometries(geometry)` 52 Ret ourne le nombre de géométries dans une collection de géométries.51 :command:`ST_NumGeometries(geometry)` 52 Returns the number of geometries in a geometry collection. 53 53 54 Relations 55 --------- 54 Relationships 55 ------------- 56 56 57 57 :command:`ST_Distance(geometry, geometry)` 58 Ret ourne la distance entre deux géométries dans l'unité du systÚme de référence spatiale.58 Returns the distance between two geometries in the units of the spatial reference system. 59 59 60 :command:`ST_DWithin(geometry, geometry, radius)` 61 Ret ourne TRUE si les géométries sont distantes d'un rayon de l'autre, sinon FALSE.60 :command:`ST_DWithin(geometry, geometry, radius)` 61 Returns true if the geometries are within the radius distance of one another, otherwise false. 62 62 63 63 :command:`ST_Intersects(geometry, geometry)` 64 Ret ourne TRUE si les géométries sont disjointes, sinon FALSE.64 Returns true if the geometries are not disjoint, otherwise false. 65 65 66 66 :command:`ST_Contains(geometry, geometry)` 67 Ret ourne TRUE si la premiÚre géométrie est totalement contenue dans la seconde, sinon FALSE.67 Returns true if the first geometry fully contains the second geometry, otherwise false. 68 68 69 69 :command:`ST_Crosses(geometry, geometry)` 70 Retourne TRUE si une ligne ou les contours d'un polygone croisent une ligne ou un contour de polygone, sinon FALSE. 71 70 Returns true if a line or polygon boundary crosses another line or polygon boundary, otherwise false.
Note: See TracChangeset
for help on using the changeset viewer.