postgis/doc
2023-04-03 11:50:04 -04:00
..
html Improve doc for ST_TriangulatePolygon 2022-06-24 12:02:41 -07:00
man Add manpages for pgtopo_import and pgtopo_export 2022-05-23 10:29:48 +02:00
po update pots and pos 2022-09-26 00:02:02 -04:00
rfc Remove more orphaned box2d support functions 2011-10-26 22:58:21 +00:00
xsl Numerous changes to cheatsheets 2022-10-16 20:08:19 -04:00
.weblate Add weblate commandline configuration and early instructions 2022-01-11 01:55:49 +01:00
administration.xml Numerous updates to upgrade instructions. 2022-01-25 14:32:29 -05:00
bnf-wkb.txt Document ISO WKT/WKB (#1451) 2012-09-20 22:24:16 +00:00
bnf-wkt.txt Document ISO WKT/WKB (#1451) 2012-09-20 22:24:16 +00:00
database_tuning.xml Improve Doc tuning section 2020-12-07 09:32:18 -08:00
doxygen.cfg.in Standardize shebangs 2020-07-01 11:00:58 +02:00
extras_address_standardizer.xml Minor typos and the_geom to geom from Bruce Rindahl. Closes https://github.com/postgis/postgis/pull/629 2021-08-25 01:08:44 -04:00
extras_historytable.xml Minor typos and the_geom to geom from Bruce Rindahl. Closes https://github.com/postgis/postgis/pull/629 2021-08-25 01:08:44 -04:00
extras_tigergeocoder.xml Minor typos and the_geom to geom from Bruce Rindahl. Closes https://github.com/postgis/postgis/pull/629 2021-08-25 01:08:44 -04:00
extras_topology.xml Reword paragraph about pgtopo_export, fixing a typo 2022-11-16 12:22:03 +01:00
extras.xml Minor typos and the_geom to geom from Bruce Rindahl. Closes https://github.com/postgis/postgis/pull/629 2021-08-25 01:08:44 -04:00
faq_raster.xml Minor typos and the_geom to geom from Bruce Rindahl. Closes https://github.com/postgis/postgis/pull/629 2021-08-25 01:08:44 -04:00
faq.xml Improve doc geography section 2021-09-27 13:35:08 -07:00
geography.txt Drop the "Installing Geography Extension" section from geography docs 2019-10-30 09:40:44 +01:00
installation.xml Fix geos versioning and geos website links 2023-03-13 18:04:38 -04:00
introduction.xml Add Aliaksandr Kalenik to credits 2022-03-15 20:08:37 -04:00
Makefile.comments.in Uniformize how PGXS is used 2018-11-21 16:21:52 +00:00
Makefile.in Numerous changes to cheatsheets 2022-10-16 20:08:19 -04:00
performance_tips.xml Fix spelling errors and have consistent verbiage. Closes https://github.com/postgis/postgis/pull/630 2021-08-25 16:28:40 -04:00
postgis.xml Fix geos versioning and geos website links 2023-03-13 18:04:38 -04:00
README Update doc/README documentation 2022-02-03 20:04:03 +01:00
reference_accessor.xml More SQL-MM cleanup 2022-07-13 22:05:45 -04:00
reference_bbox.xml Add ST_EstimatedExtent in See Also section of ST_Extent 2022-03-29 17:54:14 +02:00
reference_cluster.xml Improve doc ST_ClusterKmeans examples 2022-02-02 11:14:08 -08:00
reference_constructor.xml Backport doc changes 2022-08-26 16:07:08 -04:00
reference_editor.xml Improve doc for ST_RemoveRepeatedPoints 2022-04-28 12:15:21 -07:00
reference_exception.xml Minor typos and the_geom to geom from Bruce Rindahl. Closes https://github.com/postgis/postgis/pull/629 2021-08-25 01:08:44 -04:00
reference_guc.xml Add GUS postgis.gdal_vsi_options 2021-06-17 09:26:36 -07:00
reference_input.xml Merge Marc21 docs into main docs. Closes #5248 for PostGIS 3.3.2 2022-09-25 23:54:52 -04:00
reference_lrs.xml More SQL-MM cleanup 2022-07-13 22:05:45 -04:00
reference_management.xml Minor typos and the_geom to geom from Bruce Rindahl. Closes https://github.com/postgis/postgis/pull/629 2021-08-25 01:08:44 -04:00
reference_measure.xml More SQL-MM cleanup 2022-07-13 22:05:45 -04:00
reference_operator.xml Adjusted spelling of Neighbor and Behavior 2021-08-31 09:09:29 -07:00
reference_output.xml Merge Marc21 docs into main docs. Closes #5248 for PostGIS 3.3.2 2022-09-25 23:54:52 -04:00
reference_overlay.xml Backport overlay cleanup changes to 3.3.2 2022-09-25 23:57:01 -04:00
reference_processing.xml Fix geos versioning and geos website links 2023-03-13 18:04:38 -04:00
reference_raster.xml Flag some functions as aggregates, not flagged before 2022-10-16 20:21:59 -04:00
reference_relationship.xml More SQL-MM cleanup 2022-07-13 22:05:45 -04:00
reference_sfcgal.xml More SQL-MM cleanup 2022-07-13 22:05:45 -04:00
reference_srs.xml Fix xml error in last commit. References #5064 for PostGIS 3.3.0 2022-07-22 02:25:19 -04:00
reference_trajectory.xml Adjusted spelling of Neighbor and Behavior 2021-08-31 09:09:29 -07:00
reference_transaction.xml Minor typos and the_geom to geom from Bruce Rindahl. Closes https://github.com/postgis/postgis/pull/629 2021-08-25 01:08:44 -04:00
reference_transformation.xml Minor typos and the_geom to geom from Bruce Rindahl. Closes https://github.com/postgis/postgis/pull/629 2021-08-25 01:08:44 -04:00
reference_troubleshooting.xml Minor typos and the_geom to geom from Bruce Rindahl. Closes https://github.com/postgis/postgis/pull/629 2021-08-25 01:08:44 -04:00
reference_type.xml Improve doc type descriptions 2021-09-10 11:02:23 -07:00
reference_validation.xml Add note that geos 3.10 is required for newer make valid 2022-08-26 16:10:12 -04:00
reference_version.xml Put in changed notice, was missed for postgis_extensions_upgrade 2022-07-13 10:11:43 -04:00
reference.xml Add Ref Guide Overlay Function section 2020-11-27 17:40:16 -08:00
release_notes.xml Fix Even's last name. [skip ci] 2023-04-03 11:50:04 -04:00
reporting.xml Drop reference to Subversion in docs (outdated) 2022-01-13 21:19:50 +01:00
template.xml Style only change: remove trailing and tab-leading spaces 2016-06-16 08:46:07 +00:00
texstyle.sty get rid of utf8 see if resolves pdf compile error 2017-07-23 09:23:56 +00:00
using_postgis_app.xml Move doc usage sections into separate chapters 2020-12-26 13:51:44 -08:00
using_postgis_dataman.xml Improve doc SRS section even more 2022-02-10 09:04:31 -08:00
using_postgis_query.xml Modernize doc example SQL 2022-04-20 15:29:28 -07:00
using_raster_dataman.xml Update Help screen. Minor adjustments to doc. 2022-06-21 11:06:11 -04:00
xmlformat.conf performed an overhaul of the installation guide ... hopefully it's easier to follow. 2009-05-27 17:14:08 +00:00
ZMSgeoms.txt #821: doc typos errata from Kashif Rasul 2011-02-09 12:54:23 +00:00

PostGIS Documentation
=====================

Overview
--------

PostGIS documentation is written in DocBook XML. The input file is
``postgis.xml``, which in turn includes all the individual chapter XML files.
From that file we can publish several formats, including HTML and PDF.

Make targets
------------

``make``
  same as ``make comments``

``make install``
  same as ``make comments-install``

``make uninstall``
  same as ``make comments-uninstall``

``make html``
  generates a single-file ``html/postgis.html``

``make html-localized``
  generates single-file ``html/postgis-<lang>.html`` for
  each supported language

``make chunked-html``
  generates a separate html file for every chapter or section break

``make pdf``
  generates a single PDF file with the PostGIS version as a filename

``make pdf``
  generates a single PDF file with the PostGIS version as a filename
  and ``-<lang>`` suffix for each supported language

``make images``
  generates all the images used in the HTML and PDF targets

``make comments``
  generates an SQL script that add COMMENTs for every function (derived from
  the documentation)

``make doxygen``
  generates the developer's documentation using Doxygen

``make comments-install``
  copies the ``postgis-comments.sql`` script to the PostgreSQL ``contrib``
  directory

``make comments-uninstall``
  removes the ``postgis-comments.sql`` script from the ``contrib`` directory

``make clean``
  removes generated files except comments

``make maintainer-clean``
  removes all generated files (including comments)

``make update-po``
  update translation files to be in sync with the source
  XML files. See ``make check-localized``

``make check``
  check structural correctness of XML documentation

``make check-localized``
  check structural correctness of localized (translated)
  XML documentation. Remember to run this before committing
  updates to translation files (see ``make update-po``)


Requirements
------------

To generate the html files and the comments:
 * xsltproc - http://xmlsoft.org/xslt/xsltproc2.html
 * DocBook XSL stylesheets - https://docbook.org/tools/
 * MathML 3 DTD - http://www.w3.org/Math/DTD/

To generate the images:
 * ImageMagick - http://www.imagemagick.org/

To generate a PDF:
 * dblatex - http://dblatex.sourceforge.net

To generate the developer's documentation:
 * Doxygen - http://www.stack.nl/~dimitri/doxygen/
 * Graphviz - http://www.graphviz.org/

To generate the translated XML files:
 * poxml - https://github.com/KDE/poxml

How to
------

To generate images used in the documentation, follow these instructions on the
PostGIS wiki: http://trac.osgeo.org/postgis/wiki/DevWikiDocNewFeature

To run garden tests against functions, follow these instructions on the PostGIS
dev wiki: http://trac.osgeo.org/postgis/wiki/DevWikiGardenTest