Daniel García Aubert
e7e3d612a1
Use strict mode in modules under lib folder (except lib/cartodb/models/resource-locator.js)
2018-10-23 17:45:42 +02:00
Daniel García Aubert
e158e3e426
Pass overview-query-rewriter to mvt renderer
2018-10-11 15:41:38 +02:00
Daniel García Aubert
c6a74b66ce
Use external module to get full qualified domain name properly
2018-06-08 13:46:42 +02:00
Daniel García Aubert
bbab9c1a6b
Avoid breaking changes
2018-05-25 14:44:58 +02:00
Daniel García Aubert
f404285140
Use postgres pool configuration to have the same configuration for all renderers.
2018-05-24 18:36:45 +02:00
Daniel García Aubert
ee38c717a5
Remove geojson renderer config
2018-05-24 18:11:18 +02:00
Daniel García Aubert
1668392296
Move 'postgres' attributes inside Mapnik's renderer configuration and keep params relative to user's connection
2018-05-24 13:42:32 +02:00
Daniel García Aubert
9feea66550
Use routes configuration to create and mount routes and controllers
2018-05-09 14:59:21 +02:00
Daniel García Aubert
e06d3200c3
Use a better API to define public routes
2018-04-11 12:33:07 +02:00
Daniel García Aubert
c0943a7c58
Use config to define base path for express routers
2018-04-10 20:26:36 +02:00
Daniel García Aubert
61fc15cec0
Add comment to indicate deprecated paths
2018-04-06 11:13:34 +02:00
Raul Marin
f9fe3ace37
Add mapnik metrics option
2018-02-06 16:07:22 +01:00
David Manzanares
ad1abb28af
Add configuration flag to enable/disable direct PgSQL MVT
2017-09-28 12:08:22 +02:00
Raul Ochoa
bfacd56800
Allow to use workers for transforming cartocss into mapnik XML
2016-12-01 17:02:40 +01:00
Raul Ochoa
376573459c
Default analyses limits can be defined in configuration
2016-10-20 14:03:42 +02:00
Daniel García Aubert
10feea0d48
Pass logger configuration to analysis backend and create a stream based on config
2016-09-23 17:11:04 +02:00
Raul Ochoa
a35403cd91
Add option to modify host header template for camshaft batch client
2016-04-20 16:36:29 +02:00
Raul Ochoa
f932862ce4
Improve configuration for batch queries
2016-04-18 15:13:00 +02:00
Raul Ochoa
a26025b259
Add analysis backend so it's possible to inject configuration
2016-04-14 17:09:07 +02:00
Raul Ochoa
b5b8085444
Reformat for better indentation
2016-04-14 13:40:02 +02:00
Raul Ochoa
388f08a277
Remove unneeded comma
2016-04-14 13:39:19 +02:00
Javier Goizueta
5b50e784cd
Merge branch 'master' into overviews-work
2016-02-09 17:14:08 +01:00
Daniel García Aubert
887d71a9ad
Fixed default geojson config
2016-02-05 12:35:03 +01:00
Javier Goizueta
0a218da835
Implement an Overviews query rewriter
...
Use the Windshaft query-rewriter interface to adapt queries so
they use available overview tables.
This requires a version of Windshaft that implements the query-rewriter
interface (package.json/npm-shrinkwap.json have yet to be updated)
2016-02-04 10:26:31 +01:00
Javier Goizueta
870688309a
Fix syntax
2016-02-02 19:29:10 +01:00
Javier Goizueta
8348f74513
Provide OverviewsHandler configuration to Windshaft
...
A parameter has been added to Windshaft Mapnik renderer configuration
to define how queries will be adapted to use overviews.
Here we're using the default OverviewHandler providen in Windshaft,
with a parameter to define how the zoom level is determined.
2016-02-02 19:23:07 +01:00
Raul Ochoa
f96c80d7a1
Merge branch 'master' into standalone-server
...
Conflicts:
lib/cartodb/cartodb_windshaft.js
2015-09-08 15:42:30 +02:00
Raul Ochoa
e0a7eb01cc
Use torque renderer config
...
Adds some notes about db pool params in torque
2015-09-04 16:33:40 +02:00
Raul Ochoa
9bece712a9
Splits controllers and supports after layergroup creation actions
2015-07-10 11:24:32 +02:00
Raul Ochoa
5967c5d1d5
Reorg app.js
2015-07-04 23:09:00 +02:00
Raul Ochoa
2d3f2667ca
Standalone server initial implementation
...
- no dependency over Windshaft.Server
2015-07-04 20:41:22 +02:00
Raul Ochoa
c6f9152efe
Moves template maps to backends directory
2015-06-29 16:38:13 +02:00
Raul Ochoa
eaccd062d3
Adds layergroupid header
...
Closes #311
2015-06-18 01:13:33 +02:00
Raul Ochoa
ad5514dd02
Pick fastly config for server options
2015-04-27 16:20:55 +02:00
Raul Ochoa
d180305e8b
Exposes pgQueryRunner in server options
2015-04-27 14:54:14 +02:00
Raul Ochoa
e7bd5dd644
Moves setDBParams to serverOptions so it can be reused
2015-04-27 14:47:58 +02:00
Raul Ochoa
2de0e5d52b
Extracts psql query run to its own class to be reusable
2015-04-27 12:48:34 +02:00
Raul Ochoa
026a0750e3
Call callback on invalid map store token for named maps
...
fixes #267
2015-04-21 18:59:52 +02:00
Raul Ochoa
2eb7529efb
Pick cacheOnTimeout and render limit from mapnik config
...
- adds default mapnik configuration values
- removes old top-level mapnik config, rely on renderer one
2015-04-07 12:52:33 +02:00
Raul Ochoa
2e1f08d764
Adds a feature flag to cache timed out tile requests: cacheOnTimeout
2015-04-06 18:52:54 +02:00
Raul Ochoa
e3c6569302
Adds an onTileErrorStrategy that intercepts error timeout
...
- returns an fallback image without error
2015-04-06 18:43:40 +02:00
Raul Ochoa
38e4812b43
Restore previous beforeLayergroupCreate hook behaviour
...
Adds new rendercache's beforeRendererCreate hook
2015-04-01 19:35:55 +02:00
Raul Ochoa
a9ab9f8b5c
Pick render limit and add it to request context
...
- Extends the problematic fake request in templates
- Picks the value in waterfall, this must be improved because:
1. It does not make sense if there is no layers with limits
2. If we want to include it always without considering the layer type
we can do the operation in parallel
2015-04-01 15:11:58 +02:00
Raul Ochoa
f019f34601
Mapnik renderer configuration not part of the renderer
root configuration
...
- All configuration must be moved into `renderer.mapnik`
- see `config/environments/*.js.example` for reference
2015-04-01 15:04:56 +02:00
Raul Ochoa
d0313a4228
Remove gc_prob as it is no longer used in grainstore
2015-03-27 17:59:55 +01:00
Raul Ochoa
1f53884722
Remove metrics for authorizedBy*
2015-03-27 17:57:46 +01:00
Raul Ochoa
d210643d63
Only required query params
2015-03-26 17:19:16 +01:00
Raul Ochoa
4be0a70362
Do not append interactivity to params, it is no longer
...
it will be used from mapconfig layer definition
2015-03-26 13:05:35 +01:00
Raul Ochoa
07bc281e25
Remove check table privacy
2015-03-23 19:19:46 +01:00
Raul Ochoa
1d433bf5b2
Remove table param from generateCacheChannel
2015-03-23 18:58:57 +01:00