Added config parameter to windshaft in order to use postgres' function ST_RemoveRepeatedPoints (set false by the default)
Conflicts: lib/cartodb/server_options.js
This commit is contained in:
parent
e4ba68850c
commit
24dde1e4d0
@ -163,6 +163,10 @@ var config = {
|
|||||||
// 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: 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
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
@ -157,6 +157,10 @@ var config = {
|
|||||||
// 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: 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
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
@ -157,6 +157,10 @@ var config = {
|
|||||||
// 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: 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
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
@ -156,7 +156,11 @@ 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: 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: {
|
http: {
|
||||||
|
Loading…
Reference in New Issue
Block a user