Update comments and config

This commit is contained in:
Daniel García Aubert 2019-02-22 10:49:22 +01:00
parent 5f43db2e36
commit 6fee16fe5e
5 changed files with 13 additions and 16 deletions

View File

@ -12,6 +12,7 @@ Breaking changes:
- Drop support for Redis 3 - Drop support for Redis 3
Announcements: Announcements:
- In configuration, set `clipByBox2d` to true by default
- Update docs: compatible Node.js and npm versions - Update docs: compatible Node.js and npm versions
- Report fine-grained Garbage Collector stats - Report fine-grained Garbage Collector stats
- Adding Authorization to Access-Control-Allow-Headers (https://github.com/CartoDB/CartoDB-SQL-API/issues/534) - Adding Authorization to Access-Control-Allow-Headers (https://github.com/CartoDB/CartoDB-SQL-API/issues/534)

View File

@ -127,9 +127,8 @@ var config = {
cache_ttl: 60000, cache_ttl: 60000,
statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status
mvt: { mvt: {
//If enabled, MVTs will be generated with PostGIS directly, instead of using Mapnik, //If enabled, MVTs will be generated with PostGIS directly
//PostGIS 2.4 is required for this to work //If disabled, MVTs will be generated with Mapnik MVT
//If disabled it will use Mapnik MVT generation
usePostGIS: true usePostGIS: true
}, },
mapnik: { mapnik: {
@ -186,7 +185,7 @@ var config = {
// SQL queries will be wrapped with ST_ClipByBox2D // SQL queries will be wrapped with ST_ClipByBox2D
// Returning the portion of a geometry falling within a rectangle // Returning the portion of a geometry falling within a rectangle
// It will only work if snapToGrid is enabled // It will only work if snapToGrid is enabled
clipByBox2d: false, // this requires postgis >=2.2 and geos >=3.5 clipByBox2d: true,
postgis: { postgis: {
// Parameters to pass to datasource plugin of mapnik // Parameters to pass to datasource plugin of mapnik

View File

@ -127,9 +127,8 @@ var config = {
cache_ttl: 60000, cache_ttl: 60000,
statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status
mvt: { mvt: {
//If enabled, MVTs will be generated with PostGIS directly, instead of using Mapnik, //If enabled, MVTs will be generated with PostGIS directly
//PostGIS 2.4 is required for this to work //If disabled, MVTs will be generated with Mapnik MVT
//If disabled it will use Mapnik MVT generation
usePostGIS: true usePostGIS: true
}, },
mapnik: { mapnik: {
@ -186,7 +185,7 @@ var config = {
// SQL queries will be wrapped with ST_ClipByBox2D // SQL queries will be wrapped with ST_ClipByBox2D
// Returning the portion of a geometry falling within a rectangle // Returning the portion of a geometry falling within a rectangle
// It will only work if snapToGrid is enabled // It will only work if snapToGrid is enabled
clipByBox2d: false, // this requires postgis >=2.2 and geos >=3.5 clipByBox2d: true,
postgis: { postgis: {
// Parameters to pass to datasource plugin of mapnik // Parameters to pass to datasource plugin of mapnik

View File

@ -127,9 +127,8 @@ var config = {
cache_ttl: 60000, cache_ttl: 60000,
statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status
mvt: { mvt: {
//If enabled, MVTs will be generated with PostGIS directly, instead of using Mapnik, //If enabled, MVTs will be generated with PostGIS directly
//PostGIS 2.4 is required for this to work //If disabled, MVTs will be generated with Mapnik MVT
//If disabled it will use Mapnik MVT generation
usePostGIS: true usePostGIS: true
}, },
mapnik: { mapnik: {
@ -186,7 +185,7 @@ var config = {
// SQL queries will be wrapped with ST_ClipByBox2D // SQL queries will be wrapped with ST_ClipByBox2D
// Returning the portion of a geometry falling within a rectangle // Returning the portion of a geometry falling within a rectangle
// It will only work if snapToGrid is enabled // It will only work if snapToGrid is enabled
clipByBox2d: false, // this requires postgis >=2.2 and geos >=3.5 clipByBox2d: true,
postgis: { postgis: {
// Parameters to pass to datasource plugin of mapnik // Parameters to pass to datasource plugin of mapnik

View File

@ -127,9 +127,8 @@ var config = {
cache_ttl: 60000, cache_ttl: 60000,
statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status statsInterval: 5000, // milliseconds between each report to statsd about number of renderers and mapnik pool status
mvt: { mvt: {
//If enabled, MVTs will be generated with PostGIS directly, instead of using Mapnik, //If enabled, MVTs will be generated with PostGIS directly
//PostGIS 2.4 is required for this to work //If disabled, MVTs will be generated with Mapnik MVT
//If disabled it will use Mapnik MVT generation
usePostGIS: true usePostGIS: true
}, },
mapnik: { mapnik: {
@ -186,7 +185,7 @@ var config = {
// SQL queries will be wrapped with ST_ClipByBox2D // SQL queries will be wrapped with ST_ClipByBox2D
// Returning the portion of a geometry falling within a rectangle // Returning the portion of a geometry falling within a rectangle
// It will only work if snapToGrid is enabled // It will only work if snapToGrid is enabled
clipByBox2d: false, // this requires postgis >=2.2 and geos >=3.5 clipByBox2d: true,
postgis: { postgis: {
// Parameters to pass to datasource plugin of mapnik // Parameters to pass to datasource plugin of mapnik