diff --git a/config/environments/development.js.example b/config/environments/development.js.example index 480f15b8..24a2f847 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -163,6 +163,10 @@ var config = { // Returning the portion of a geometry falling within a rectangle // It will only work if snapToGrid is enabled clipByBox2d: false, // this requires postgis >=2.2 and geos >=3.5 + // geometries will be simplified using ST_RemoveRepeatedPoints + // which cost is no more expensive than snapping and results are + // much closer to the original geometry + removeRepeatedPoints: false // this requires postgis >=2.2 } }, diff --git a/config/environments/production.js.example b/config/environments/production.js.example index 2a457768..5ffdf712 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -157,6 +157,10 @@ var config = { // Returning the portion of a geometry falling within a rectangle // It will only work if snapToGrid is enabled clipByBox2d: false, // this requires postgis >=2.2 and geos >=3.5 + // geometries will be simplified using ST_RemoveRepeatedPoints + // which cost is no more expensive than snapping and results are + // much closer to the original geometry + removeRepeatedPoints: false // this requires postgis >=2.2 } }, diff --git a/config/environments/staging.js.example b/config/environments/staging.js.example index 72195fef..056e94cb 100644 --- a/config/environments/staging.js.example +++ b/config/environments/staging.js.example @@ -157,6 +157,10 @@ var config = { // Returning the portion of a geometry falling within a rectangle // It will only work if snapToGrid is enabled clipByBox2d: false, // this requires postgis >=2.2 and geos >=3.5 + // geometries will be simplified using ST_RemoveRepeatedPoints + // which cost is no more expensive than snapping and results are + // much closer to the original geometry + removeRepeatedPoints: false // this requires postgis >=2.2 } }, diff --git a/config/environments/test.js.example b/config/environments/test.js.example index 00c19628..9ab940f4 100644 --- a/config/environments/test.js.example +++ b/config/environments/test.js.example @@ -156,7 +156,11 @@ var config = { // SQL queries will be wrapped with ST_ClipByBox2D // Returning the portion of a geometry falling within a rectangle // It will only work if snapToGrid is enabled - clipByBox2d: false // this requires postgis >=2.2 and geos >=3.5 + clipByBox2d: false, // this requires postgis >=2.2 and geos >=3.5 + // geometries will be simplified using ST_RemoveRepeatedPoints + // which cost is no more expensive than snapping and results are + // much closer to the original geometry + removeRepeatedPoints: false // this requires postgis >=2.2 } }, http: {