Commit Graph
284 Commits
Author SHA1 Message Date
Javier Torres e2c0a63803 Use Point for geocoding results 2018-12-24 17:19:13 +01:00
Mario de Frutos 0ec1e051be Include options parsing functions 2018-11-29 14:28:54 +01:00
Mario de Frutos 850497ef79 Fix some missing arguments in the functions and add drop for the old ones 2018-11-29 13:02:18 +01:00
Mario de Frutos 64a0616c97 Added options and units parameters to the routing functions 2018-11-29 12:12:05 +01:00
Mario de Frutos 5e161b55d2 Merge branch 'development' into fix_metrics 2018-11-27 17:39:56 +01:00
Mario de Frutos 87bb8bea68 Remove duped metrics for isochrones
We are counting the success/empty inside the iteration of the results
returned by the third party service.

For example, if we ask for 3 isochrones to a provider we count:

- 1 for success or empty
- If success we add 1 more success for each isochrone in the result
- N isolines_generated

but it should be

- 1 for success or empty
- N isolines_generated
2018-11-19 17:59:47 +01:00
Mario de Frutos 2f6d067b4e Parse JSON parameters to avoid problems
If we pass JSON as string, with scape characters and so on, we are
going to have problems parsing that metrics in ES
2018-11-05 17:06:52 +01:00
antoniocarlon 49bcf31832 Removed appname parameter 2018-09-10 14:26:53 +02:00
antoniocarlon 4b6b4e92e8 CR suggestions (remove appname) 2018-09-10 12:54:37 +02:00
antoniocarlon 603d691017 Added metrics 2018-09-06 13:47:50 +02:00
antoniocarlon eca4b42a73 Fixed tests 2018-09-06 12:32:48 +02:00
antoniocarlon 7a7ccbbfcf Added appname parameter to the public server functions 2018-09-06 12:04:11 +02:00
Mario de Frutos 0e95c5ff90 Now the snapshot functions use the obs_genral config 2018-08-21 18:25:12 +02:00
Mario de Frutos fba933cc88 Remove obs_snapshot_config 2018-08-21 18:18:10 +02:00
Juan Ignacio Sánchez Lara b0c1948c14 TL;DR: safer deployment and minor fixes
- Instead of modifying cdb_service_quota_info to return max_batch_size,
a new type (service_quota_info_batch) and a new function
(cdb_service_quota_info_batch) are created. That makes deployment safe.
- Fixes geocoding with forced batch size 1.
- Improves namespacing for count_estimate (->
cdb_dataservices_client.cdb_count_estimate).
- Improves namespacing for jsonb_array_casttext (->
cdb_dataservices_client.cdb_jsonb_array_casttext).
2018-07-18 14:57:40 +02:00
Juan Ignacio Sánchez Lara 531ad28158 Send optimal batch size 2018-07-10 19:31:58 +02:00
Juan Ignacio Sánchez Lara f6b7c13dde GoogleMapsBulkGeocoder extraction 2018-07-10 13:38:51 +02:00
Juan Ignacio Sánchez Lara f618e4aec3 Mapbox bulk geocoding 2018-07-09 17:35:56 +02:00
Juan Ignacio Sánchez Lara 31afc82b56 TomTom bulk geocoding by bypassing to serial 2018-07-06 15:52:45 +02:00
Juan Ignacio Sánchez Lara e416a8a641 HERE batch support 2018-07-02 18:35:36 +02:00
Juan Ignacio Sánchez Lara 18e2349713 Bulk geocoding refactor 2018-06-29 14:59:07 +02:00
Juan Ignacio Sánchez Lara 8fe9903e7a searchtext -> searches for bulk geocoding 2018-06-27 15:14:11 +02:00
Juan Ignacio Sánchez Lara bbbf70f3ac Street level columns for country, city and state 2018-06-22 12:19:51 +02:00
Juan Ignacio Sánchez Lara e85f43f1d1 cdb_bulk_geocode_street_point skeleton 2018-06-15 09:55:52 +02:00
Juan Ignacio Sánchez Lara 34fc6439d2 cdb_bulk_geocode_street_point functions 2018-06-11 16:12:41 +02:00
Juan Ignacio Sánchez Lara 3a240bf6ad params at routing metrics 2018-04-27 12:43:29 +02:00
Juan Ignacio Sánchez Lara 193513bfea params at metrics 2018-04-11 14:28:15 +02:00
Juan Ignacio Sánchez Lara 3b121c8793 Merge branch 'master' into Added_TomTom_services 2018-04-09 13:07:04 +02:00
Juan Ignacio Sánchez Lara 2a47000f32 coordinates_to_polygon should always return multipolygon to avoid inconsistencies 2018-03-27 16:36:04 +02:00
Antonio 6572891036 Merging changes 2018-03-16 14:30:01 +01:00
Antonio e15c6127d3 Added ST_CollectionExtract 2018-03-16 12:01:12 +01:00
Alex Martín 71c93fe13a Add ST_MakeValid to sql 2018-03-15 15:58:15 +01:00
Antonio c9d0f0447f Added server functions (untested) 2018-03-02 16:40:12 +01:00
Mario de Frutos 14925ea448 Add missing imports for google gecode street 2018-02-02 11:18:56 +01:00
Mario de Frutos 3973483af2 Move limits check inside the try 2018-02-01 19:03:32 +01:00
Mario de Frutos 94eaf84f91 Treat quota exception as a failure 2018-02-01 18:27:32 +01:00
Mario de Frutos 0df0b0d49c Avoid treating quota exception as bug exception 2018-02-01 18:21:15 +01:00
Antonio 05718ce58c Fixed KeyError Exception 2018-01-29 17:32:44 +01:00
Antonio fed444ff6c Version bumped 2018-01-29 17:18:18 +01:00
Mario de Frutos 7d8cc4ae87 Fix bug that checks only for name of the custom type and not uses the
namespace
2018-01-16 18:28:54 +01:00
Antonio 9921f0f394 Added iso3166 import 2018-01-16 17:25:12 +01:00
Antonio 6339623ad9 Added ServiceManager for Mapbox services 2018-01-12 12:24:17 +01:00
Antonio a02a634e76 Added metrics for DO (related to #419 and removed for easy merging) 2018-01-11 11:13:37 +01:00
Antonio 7dc87ad38e Rotating API keys for Mapbox 2018-01-11 10:18:01 +01:00
Antonio 7d99ede28d Error fixed 2018-01-10 11:55:02 +01:00
Antonio cd5dba920e Using user's configured geocoder for namedplaces via street point 2018-01-10 10:34:18 +01:00
Antonio dd6ad0119c Added CR suggestions 2018-01-09 16:21:55 +01:00
Antonio fa3f2fbc3a Modified SQL files 2018-01-04 17:58:46 +01:00
Raul Marin ff71a406ae Server: Categorize functions
Redis/Service functions declared as STATIC to avoid unneded calls
but it's really questionable if they trully are
2017-11-14 16:48:48 +01:00
Raul Marin 98206a3296 Server: Mark all plproxy functions as VOLATILE PARALLEL UNSAFE 2017-11-14 16:48:48 +01:00