]> granicus.if.org Git - postgis/commitdiff
Add notes on optional protobuf-c dependency and some formatting fixes
authorBjörn Harrtell <bjorn@wololo.org>
Mon, 18 Sep 2017 07:32:57 +0000 (07:32 +0000)
committerBjörn Harrtell <bjorn@wololo.org>
Mon, 18 Sep 2017 07:32:57 +0000 (07:32 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15753 b70326c6-7e19-0410-871a-916f4a2858ee

README.postgis
doc/installation.xml

index 8ca30b3e8bf407a1452202d43416154f91bcc31f..73c09d5ffa060583a8b1d1a92d3766c315cb0667 100644 (file)
@@ -61,9 +61,9 @@ this to work.
 
 * GNU gettext
 
-   The loader, and hence PostGIS, requires GNU gettext 0.14 or higher
-   for translation support
-   (typically in libc on GNU/Linux, in which case 0.17 is required).
+  The loader, and hence PostGIS, requires GNU gettext 0.14 or higher
+  for translation support
+  (typically in libc on GNU/Linux, in which case 0.17 is required).
 
 * JSON-C (Optional, Version 0.9 or higher)
 
@@ -71,7 +71,7 @@ this to work.
 
     http://github.com/json-c/json-c/wiki
 
-  You can get it installed in apt-based systems using::
+  You can get it installed in apt-based systems using:
 
     apt-get install libjson0-dev
 
@@ -85,6 +85,17 @@ this to work.
 
   https://github.com/Oslandia/SFCGAL
 
+* protobuf-c (Optional, Version 1.1.0 or higher)
+
+  The protobuf-c library and compiler is required for ST_AsMVT and
+  ST_AsGeobuf output. Also, pkg-config is required to verify the correct
+  minimum version of protobuf-c.
+
+    https://github.com/protobuf-c/protobuf-c
+
+  To get packages on apt-based systems:
+
+    apt-get install libprotobuf-c-dev protobuf-c-compiler
 
 CONFIGURATION
 -------------
@@ -123,6 +134,9 @@ you must provide the ``--without-raster`` option.
 If you want to compile PostGIS *without* Topology support,
 you must provide the ``--without-topology`` option.
 
+If you want to compile PostGIS *without* Protobuf formats support,
+you must provide the ``--without-protobuf`` option.
+
 PostGIS will be compiled with sfcgal support if it is found.
 You can explicitly state the location with --with-sfcgal=path/to/sfcgal
 
index 7f174f45db36efee9e556c8dc429251e8762b92a..47c3eebc47f238131d5402141b7c2d0f75810ba4 100644 (file)
@@ -209,7 +209,7 @@ psql -d yourdatabase -f sfcgal_comments.sql
                <listitem>
                        <para>
                          To enable ST_AsMVT protobuf-c library (for usage) and the protoc-c compiler (for building) are required.
-                               Also, pgk-config is required to verify the correct minimum version of protobuf-c.
+                               Also, pkg-config is required to verify the correct minimum version of protobuf-c.
                                See <ulink url="https://github.com/protobuf-c/protobuf-c">protobuf-c</ulink>.
                        </para>
                </listitem>