From 297f96655ada3acc0be3ddad8d79ee03c982e249 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Sun, 10 Jun 2012 06:25:35 +0000 Subject: [PATCH] #1859 commit doc corrections from Kashif Rasul. git-svn-id: http://svn.osgeo.org/postgis/trunk@9872 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/extras_topology.xml | 2 +- doc/installation.xml | 9 ++++----- doc/reference_accessor.xml | 12 ++++++------ doc/reference_management.xml | 6 +++--- doc/reference_processing.xml | 2 +- doc/reference_raster.xml | 14 +++++++------- doc/using_raster_dataman.xml | 2 +- 7 files changed, 23 insertions(+), 24 deletions(-) diff --git a/doc/extras_topology.xml b/doc/extras_topology.xml index c5b5ab273..6d480d9a2 100644 --- a/doc/extras_topology.xml +++ b/doc/extras_topology.xml @@ -1172,7 +1172,7 @@ delete one of the them and modify the other to take the space of both. Removes an edge and, if the removed edge separated two faces, delete one of the them and modify the other to take the space of both. -Preferencially keeps the face on the right, to be symmetric with +Preferentially keeps the face on the right, to be symmetric with ST_AddEdgeModFace also keeping it. Returns the id of the face remaining in place of the removed edge. diff --git a/doc/installation.xml b/doc/installation.xml index 1eaf32214..a68af3e51 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -549,14 +549,13 @@ tar -xvzf postgis-&last_release_version;.tar.gz Building PostGIS Extensions and Deploying them - The PostGIS extensions which is usable for PostgreSQL 9.1+, can be built by cding into the extension folders and doing a make install. - This will be an automated process in the future when PostGIS is compiled against a 9.1 build and fully integrated int ot he build process. + The PostGIS extensions are built and installed automatically if you are using PostgreSQL 9.1+. - If you are building from souce repository, you need to build the function descriptions first with: + If you are building from source repository, you need to build the function descriptions first. These get built if you have docbook installed. You can also manually build with the statement: make comments Building the comments is not necessary if you are building from a release tar ball since these are packaged pre-built with the tar ball already. If you are building against PostgreSQL 9.1, the extensions should automatically build as part of the make install process. You can if needed build from the extensions - folders or copy files if you need them on a differnt server. + folders or copy files if you need them on a different server. cd extensions cd postgis make clean @@ -1293,7 +1292,7 @@ ALTER EXTENSION postgis_topology UPDATE TO "&last_release_version;"; 999999 moved into the reserved range, but the - spatial_ref_sys table would loose a check contraint guarding + spatial_ref_sys table would loose a check constraint guarding for that invariant to hold and possibly also its primary key ( when multiple invalid SRIDS get converted to the same reserved SRID value ). diff --git a/doc/reference_accessor.xml b/doc/reference_accessor.xml index ede286d0e..909596619 100644 --- a/doc/reference_accessor.xml +++ b/doc/reference_accessor.xml @@ -2243,7 +2243,7 @@ SELECT ST_Y(ST_Centroid(ST_GeomFromEWKT('LINESTRING(1 2 3 4, 1 1 1 1)'))); Although this function is only defined for box3d, it will work for box2d and geometry because of the auto-casting behavior - defined for geometries and box2d. However you can not feed it a geometry or box2d text represenation, since that will not auto-cast. + defined for geometries and box2d. However you can not feed it a geometry or box2d text representation, since that will not auto-cast. &Z_support; @@ -2311,7 +2311,7 @@ st_xmax Although this function is only defined for box3d, it will work for box2d and geometry because of the auto-casting behavior - defined for geometries and box2d. However you can not feed it a geometry or box2d text represenation, since that will not auto-cast. + defined for geometries and box2d. However you can not feed it a geometry or box2d text representation, since that will not auto-cast. &Z_support; @@ -2435,7 +2435,7 @@ SELECT ST_Y(ST_Centroid(ST_GeomFromEWKT('LINESTRING(1 2 3 4, 1 1 1 1)'))); Although this function is only defined for box3d, it will work for box2d and geometry because of the auto-casting behavior - defined for geometries and box2d. However you can not feed it a geometry or box2d text represenation, since that will not auto-cast. + defined for geometries and box2d. However you can not feed it a geometry or box2d text representation, since that will not auto-cast. &Z_support; @@ -2503,7 +2503,7 @@ st_ymax Although this function is only defined for box3d, it will work for box2d and geometry because of the auto-casting behavior - defined for geometries and box2d. However you can not feed it a geometry or box2d text represenation, since that will not auto-cast. + defined for geometries and box2d. However you can not feed it a geometry or box2d text representation, since that will not auto-cast. &Z_support; @@ -2620,7 +2620,7 @@ st_ymin Although this function is only defined for box3d, it will work for box2d and geometry because of the auto-casting behavior - defined for geometries and box2d. However you can not feed it a geometry or box2d text represenation, since that will not auto-cast. + defined for geometries and box2d. However you can not feed it a geometry or box2d text representation, since that will not auto-cast. &Z_support; @@ -2748,7 +2748,7 @@ SELECT ST_Zmflag(ST_GeomFromEWKT('POINT(1 2 3 4)')); Although this function is only defined for box3d, it will work for box2d and geometry because of the auto-casting behavior - defined for geometries and box2d. However you can not feed it a geometry or box2d text represenation, since that will not auto-cast. + defined for geometries and box2d. However you can not feed it a geometry or box2d text representation, since that will not auto-cast. &Z_support; diff --git a/doc/reference_management.xml b/doc/reference_management.xml index ec498aea5..7ff8f0013 100644 --- a/doc/reference_management.xml +++ b/doc/reference_management.xml @@ -8,7 +8,7 @@ Adds a geometry column to an existing table of attributes. By default uses type modifier to define rather than constraints. - Pass in false for use_typmod to get old check contraint based behavior + Pass in false for use_typmod to get old check constraint based behavior @@ -873,12 +873,12 @@ DROP TABLE my_schema.my_spatial_table; table oid, this function tries to determine the srid, dimension, and type of all the geometries in the view, inserting appropriate entries into the geometry_columns table, but nothing is done - to enforce contraints. + to enforce constraints. The parameterless variant is a simple wrapper for the parameterized variant that first truncates and repopulates the geometry_columns table for every spatial table and view in the database, adding spatial - contraints to tables where appropriate. It returns a summary of the + constraints to tables where appropriate. It returns a summary of the number of geometry columns detected in the database and the number that were inserted into the geometry_columns table. The parameterized version simply returns the number of rows inserted into diff --git a/doc/reference_processing.xml b/doc/reference_processing.xml index 813f93727..cfba80b04 100644 --- a/doc/reference_processing.xml +++ b/doc/reference_processing.xml @@ -72,7 +72,7 @@ The optional third parameter (currently only applies to geometry) can either spe 'join=round|mitre|bevel' : join style (defaults to "round", needs GEOS-3.2 or higher for a different value). 'miter' is also accepted as a synonym for 'mitre'. -'mitre_limit=#.#' : mitre ratio limit (only affects mitred join style). 'miter_limit' is also accepted as a synonym for 'mitre_limit'. +'mitre_limit=#.#' : mitre ratio limit (only affects mitered join style). 'miter_limit' is also accepted as a synonym for 'mitre_limit'. diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index 892f14e2c..564f808f3 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -7,7 +7,7 @@ functions to the raster objects which are not of use to a general user. raster is a new PostGIS type for storing and analyzing raster data. - For loading rasters from raster files please refere to + For loading rasters from raster files please refer to For the examples in this reference we will be using a raster table of dummy rasters - Formed with the following code CREATE TABLE dummy_rast(rid integer, rast raster); @@ -388,12 +388,12 @@ VALUES (1, blocksize sets both X and Y blocksize blocksize_x sets X tile (width in pixels of each tile) blocksize_y sets Y tile (height in pixels of each tile) - extent computes extent of whole table and applys constraint all rasters must be withint that extent + extent computes extent of whole table and applys constraint all rasters must be within that extent num_bands number of bands pixel_types reads array of pixel types for each band ensure all band n have same pixel type regular_blocking apply informational flag to denote all tiles are regularly blocked - same_alignment ensures they all have same alignment meanign any two tiles you compare will return true for. Refer to + same_alignment ensures they all have same alignment meaning any two tiles you compare will return true for. Refer to srid ensures all have same srid More -- any listed as inputs into the above functions @@ -441,7 +441,7 @@ SELECT ST_AddBand(ST_MakeEmptyRaster(1000, 1000, 0.3, -0.3, 2, 2, 0, 0,4326), 1, SELECT AddRasterConstraints('public'::name, 'myrasters2'::name, 'rast'::name,'regular_blocking', 'blocksize'); -- get notice-- NOTICE: Adding regular blocking constraint -INFO: The regular_blocking constraint is just a flag indicating that the column "rast" is regularly blocked. As no function exist yet to assert that a raster column is regularly blocked, it is up to the end-user to ensure that the column is truely regularly blocked. +INFO: The regular_blocking constraint is just a flag indicating that the column "rast" is regularly blocked. As no function exist yet to assert that a raster column is regularly blocked, it is up to the end-user to ensure that the column is truly regularly blocked. CONTEXT: PL/pgSQL function "addrasterconstraints" line 85 at assignment NOTICE: Adding blocksize-X constraint NOTICE: Adding blocksize-Y constraint @@ -578,7 +578,7 @@ NOTICE: Adding blocksize-Y constraint Drops PostGIS raster constraints that refer to a raster table column that were added by . Useful if you need to load more data or update your raster column data. You do not need to do this if you want to get rid of a raster table or a raster column. To drop a raster table use the standard DROP TABLE mytable - To drop justa araster column and leave the rest of the table, use standard SQL ALTER TABLE mytable DROP COLUMN rast + To drop just a raster column and leave the rest of the table, use standard SQL ALTER TABLE mytable DROP COLUMN rast the table will disappear from the raster_columns catalog if the column or table is dropped. However if only the constraints are dropped, the raster column will still be listed in the raster_columns catalog, but there will be no other information about it aside from the column name and table. Availability: 2.0.0 @@ -1620,7 +1620,7 @@ rid | numbands Returns the height of a pixel in geometric units of the spatial reference system. In the common case where there is no skew, the pixel height is just the scale ratio between geometric coordinates and raster pixels. - Refer to for a diagramatic visualization of the relationship. + Refer to for a diagrammatic visualization of the relationship. @@ -7769,7 +7769,7 @@ FROM sometable WHERE filename IN('dem01', 'dem02') GROUP BY filename; Examples: Return a multi-band raster that is the union of tiles intersecting geometry - -- this creates a muli band raster collecting all the tiles that intersect a line + -- this creates a multi band raster collecting all the tiles that intersect a line SELECT ST_AddBand(NULL,ARRAY[ST_Union(rast,1), ST_Union(rast,2), ST_Union(rast,3) ]) FROM aerials.boston WHERE ST_Intersects(rast, ST_GeomFromText('LINESTRING(230486 887771, 230500 88772)',26986) ); diff --git a/doc/using_raster_dataman.xml b/doc/using_raster_dataman.xml index c6855c879..604499dd9 100644 --- a/doc/using_raster_dataman.xml +++ b/doc/using_raster_dataman.xml @@ -81,7 +81,7 @@ - Raster processing: Applying contraints for proper registering in raster catalogs + Raster processing: Applying constraints for proper registering in raster catalogs -- 2.40.0