From: Regina Obe Date: Sun, 5 May 2013 22:35:47 +0000 (+0000) Subject: #1818 slight doc change move the FromGeoHash family to constructor section and link... X-Git-Tag: 2.1.0beta2~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d9a4acc9cb59309fc053198d7f6a699be85940a;p=postgis #1818 slight doc change move the FromGeoHash family to constructor section and link back to ST_GeoHash output and amend credits to Jason Smith git-svn-id: http://svn.osgeo.org/postgis/trunk@11360 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/NEWS b/NEWS index 2e065c959..f80f9d187 100644 --- a/NEWS +++ b/NEWS @@ -57,7 +57,7 @@ PostGIS 2.1.0 - #1643, #2076, Upgrade tiger geocoder to support loading tiger 2011 and 2012 (Regina Obe / Paragon Corporation) Funded by Hunter Systems Group - GEOMETRYCOLLECTION support for ST_MakeValid (Sandro Santilli / Vizzuality) - - #1818, ST_GeomFromGeoHash and friends (J.Smith (darkpanda)) + - #1818, ST_GeomFromGeoHash and friends (Jason Smith (darkpanda)) - ST_PixelOfValue (Bborie Park / UC Davis) - Casts to/from PostgreSQL geotypes (point/path/polygon). - #2011, ST_DumpValues to output raster as array (Bborie Park / UC Davis) diff --git a/doc/introduction.xml b/doc/introduction.xml index 5c66a4823..bf8c1411b 100644 --- a/doc/introduction.xml +++ b/doc/introduction.xml @@ -189,8 +189,8 @@ Gino Lucrezi, Guillaume Lelarge, IIDA Tetsushi, Ingvild Nystuen, +Jason Smith, Jeff Adams, -J. Smith, Jose Carlos Martinez Llari, Kashif Rasul, Klaus Foerster, diff --git a/doc/reference_constructor.xml b/doc/reference_constructor.xml index e0e70e034..5e3642185 100644 --- a/doc/reference_constructor.xml +++ b/doc/reference_constructor.xml @@ -102,6 +102,63 @@ + + + ST_Box2dFromGeoHash + + Return a BOX2D from a GeoHash string. + + + + + + box2d ST_Box2dFromGeoHash + text geohash + integer precision=full_precision_of_geohash + + + + + + Description + + Return a BOX2D from a GeoHash string. + + If no precision is specficified ST_Box2dFromGeoHash returns a BOX2D based on full precision of the input GeoHash string. + + If precision is specified ST_Box2dFromGeoHash will use that many characters from the GeoHash to create the BOX2D. Lower precision values results in larger BOX2Ds and larger values increase the precision. + + Availability: 2.1.0 + + + + Examples + + + + + See Also + + , , + + + ST_GeogFromText @@ -439,7 +496,63 @@ SELECT ST_GeomFromEWKT('POLYHEDRALSURFACE( - + + + + + ST_GeomFromGeoHash + + Return a geometry from a GeoHash string. + + + + + + geometry ST_GeomFromGeoHash + text geohash + integer precision=full_precision_of_geohash + + + + + + Description + + Return a geometry from a GeoHash string. The geometry will be a polygon representing the GeoHash bounds. + + If no precision is specficified ST_GeomFromGeoHash returns a polygon based on full precision of the input GeoHash string. + + If precision is specified ST_GeomFromGeoHash will use that many characters from the GeoHash to create the polygon. + + Availability: 2.1.0 + + + + Examples + + + + + See Also + + ,, + + + ST_GeomFromGML @@ -1884,6 +1997,61 @@ SELECT ST_Transform(ST_SetSRID(ST_Point(3637510, 3014852),2273),4326)::geography , , , + + + + ST_PointFromGeoHash + + Return a point from a GeoHash string. + + + + + + point ST_PointFromGeoHash + text geohash + integer precision=full_precision_of_geohash + + + + + + Description + + Return a point from a GeoHash string. The point represents the center point of the GeoHash. + + If no precision is specficified ST_PointFromGeoHash returns a point based on full precision of the input GeoHash string. + + If precision is specified ST_PointFromGeoHash will use that many characters from the GeoHash to create the point. + + Availability: 2.1.0 + + + + Examples + + + + + See Also + + , , + + diff --git a/doc/reference_output.xml b/doc/reference_output.xml index aeff8cfdf..182344e04 100644 --- a/doc/reference_output.xml +++ b/doc/reference_output.xml @@ -981,174 +981,7 @@ SELECT ST_GeoHash(ST_SetSRID(ST_MakePoint(-126,48),4326),5); See Also - - - - - - - ST_Box2dFromGeoHash - - Return a BOX2D from a GeoHash string. - - - - - - box2d ST_Box2dFromGeoHash - text geohash - integer precision=full_precision_of_geohash - - - - - - Description - - Return a BOX2D from a GeoHash string. - - If no precision is specficified ST_Box2dFromGeoHash returns a BOX2D based on full precision of the input GeoHash string. - - If precision is specified ST_Box2dFromGeoHash will use that many characters from the GeoHash to create the BOX2D. Lower precision values results in larger BOX2Ds and larger values increase the precision. - - Availability: 2.1.0 - - - - Examples - - - - - See Also - - , - - - - - - ST_PointFromGeoHash - - Return a point from a GeoHash string. - - - - - - point ST_PointFromGeoHash - text geohash - integer precision=full_precision_of_geohash - - - - - - Description - - Return a point from a GeoHash string. The point represents the center point of the GeoHash. - - If no precision is specficified ST_PointFromGeoHash returns a point based on full precision of the input GeoHash string. - - If precision is specified ST_PointFromGeoHash will use that many characters from the GeoHash to create the point. - - Availability: 2.1.0 - - - - Examples - - - - - See Also - - , - - - - - - ST_GeomFromGeoHash - - Return a geometry from a GeoHash string. - - - - - - geometry ST_GeomFromGeoHash - text geohash - integer precision=full_precision_of_geohash - - - - - - Description - - Return a geometry from a GeoHash string. The geometry will be a polygon representing the GeoHash bounds. - - If no precision is specficified ST_GeomFromGeoHash returns a polygon based on full precision of the input GeoHash string. - - If precision is specified ST_GeomFromGeoHash will use that many characters from the GeoHash to create the polygon. - - Availability: 2.1.0 - - - - Examples - - - - - See Also - - , +