[postgis-tickets] r15753 - Add notes on optional protobuf-c dependency and some formatting fixes

bjorn at wololo.org bjorn at wololo.org
Mon Sep 18 00:32:57 PDT 2017


Author: bjornharrtell
Date: 2017-09-18 00:32:57 -0700 (Mon, 18 Sep 2017)
New Revision: 15753

Modified:
   trunk/README.postgis
   trunk/doc/installation.xml
Log:
Add notes on optional protobuf-c dependency and some formatting fixes

Modified: trunk/README.postgis
===================================================================
--- trunk/README.postgis	2017-09-17 23:41:55 UTC (rev 15752)
+++ trunk/README.postgis	2017-09-18 07:32:57 UTC (rev 15753)
@@ -61,9 +61,9 @@
 
 * 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 @@
 
     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,7 +85,18 @@
 
   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 @@
 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
 

Modified: trunk/doc/installation.xml
===================================================================
--- trunk/doc/installation.xml	2017-09-17 23:41:55 UTC (rev 15752)
+++ trunk/doc/installation.xml	2017-09-18 07:32:57 UTC (rev 15753)
@@ -209,7 +209,7 @@
 		<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>



More information about the postgis-tickets mailing list