From 4bbafeb08075b9179ff548fedafbbdeb85a3ef0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Harrtell?= Date: Mon, 18 Sep 2017 07:32:57 +0000 Subject: [PATCH] Add notes on optional protobuf-c dependency and some formatting fixes git-svn-id: http://svn.osgeo.org/postgis/trunk@15753 b70326c6-7e19-0410-871a-916f4a2858ee --- README.postgis | 22 ++++++++++++++++++---- doc/installation.xml | 2 +- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/README.postgis b/README.postgis index 8ca30b3e8..73c09d5ff 100644 --- a/README.postgis +++ b/README.postgis @@ -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 diff --git a/doc/installation.xml b/doc/installation.xml index 7f174f45d..47c3eebc4 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -209,7 +209,7 @@ psql -d yourdatabase -f sfcgal_comments.sql 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 protobuf-c. -- 2.50.0