Mario de Frutos
50008ea149
WIP
2018-05-09 09:39:20 +02:00
antoniocarlon
5f9f77ded1
Fixed errors
2018-05-08 17:50:01 +02:00
antoniocarlon
3fba8a3091
Inverting y coordinate
2018-05-08 16:54:53 +02:00
antoniocarlon
fafd4a364e
Fixed naming issue
2018-05-08 15:52:30 +02:00
antoniocarlon
46d7027cdb
Created MVT returning function for DO
2018-05-04 15:18:55 +02:00
Mario de Frutos
eb31a8f40a
Remove new fields not used to simplify deploy process
2018-04-19 19:52:19 +02:00
Mario de Frutos
0241f03329
All tests fixed
2018-04-17 17:41:04 +02:00
Mario de Frutos
ed3b7de9e0
Fix not valid column in exploration functions
2018-04-16 11:38:28 +02:00
Mario de Frutos
350b1716e0
New fixtures after fix in bigmetadata
2018-04-16 11:14:26 +02:00
Mario de Frutos
6ce5e278e9
New fixtures including table_to_table
2018-04-13 10:11:15 +02:00
Mario de Frutos
0db98f4020
New fixtures with last changes
2018-04-12 18:52:33 +02:00
Antonio
b891034146
Changed name of numer timespans to ensure backwards compatibility
2018-04-12 17:09:19 +02:00
Antonio
89f76e2a1a
Refactor geom_numer_timespan
2018-04-12 17:09:19 +02:00
Mario de Frutos
850b3c2524
Merge pull request #327 from CartoDB/Mitigate_collisions_in_suggested_name
...
Modified the denominated suggested_name to mitigate collisions
2018-04-12 17:07:01 +02:00
Antonio
b4ba9b5d1d
Fixed tests
2018-04-11 10:36:58 +02:00
Antonio
be82c87bb1
Fixed CR suggestion
2018-04-11 10:36:57 +02:00
Antonio
7aac256892
Refactor OBS_GetAvailableTimespans
2018-04-11 10:36:57 +02:00
Juan Ignacio Sánchez Lara
db585177ab
Explicit pre-2.4 PostGIS equal operator
...
Before PostGIS 2.4, `=` meant equality of bounding boxes, but now it's
strict equalty.
2018-04-06 13:59:31 +02:00
Antonio
6d23509557
Modified the denominated suggested_name to mitigate collisions
2018-02-23 10:46:01 +01:00
Antonio
1d5f8a6452
Py3
2017-11-23 12:36:59 +01:00
Mario de Frutos
94b8e7492d
OBS_GetAvailableGeometries now receives number of geometries from input
...
We need the number of geometries to pass them to the get score function
in order to get an accurate score for the input in order to suggest
what is the geometry that fits better for the input we have
2017-10-10 18:09:26 +02:00
Javier Torres
4ae889dfdc
Remove WOF perftests. This is needed for tests to pass since we don't have WOF in our current dump
2017-09-21 10:36:05 +02:00
Mario de Frutos
fd21709ca1
Fix missing schema for FIRST function
2017-08-18 16:20:13 +02:00
Antonio
fad541c3fc
Fixed broken tests and refactor
2017-08-18 11:19:15 +02:00
Antonio
48ed086fec
Fixed tests for different test points per numerator
2017-08-17 16:31:40 +02:00
Mario de Frutos
6ab17bf8be
New version 1.7.0 artifacts
2017-08-10 14:19:37 +02:00
Mario de Frutos
cef99c6343
OBS_MetadataValidation
...
New function to check the metadata in order to search for errors like
for example if we have the metadata for a median aggregation and the
normalization is by are it'll fail.
2017-08-09 16:11:10 +02:00
Mario de Frutos
50d975ce9b
Generate new fixtures to include new meta table
...
- Include the obs_meta_geom_numer_timespan table
2017-08-09 16:10:39 +02:00
Mario de Frutos
adae37631e
Modified OBS_GetAvailableGeometries
...
Now use the new meta ttable obs_meta_geom_numer_timspan to filter
the geometries by geometries timepsan and/or numerator timespan (which
is what we get when we use the obs_getavailabletimepspans)
2017-07-11 16:06:11 +02:00
Mario de Frutos
8b98b6b64a
Bump version 1.6.0
2017-06-29 17:54:11 +02:00
Mario de Frutos
aedc45f2a8
Merge pull request #300 from CartoDB/4967_new_numerators_function
...
New private function _OBS_GetNumerators to be used in our UI
2017-06-29 17:51:50 +02:00
Mario de Frutos
8612da57f7
New private function _OBS_GetNumerators to be used in our UI
...
The current OBS_GetAvailableNumerators is not designed with our
UI in mind so it's causing a lot of troubles and we're doing so
many hacks to fit our UI needs and the interface of the function so this
function it's a better fit for our purposes.
This function is private because, by now, we don't want to expose
as a public function because could suffer changes in the near future.
2017-06-29 16:04:11 +02:00
Mario de Frutos
24a736c72e
Tests for the PR #298
2017-06-29 13:33:07 +02:00
Mario de Frutos
d1f4e570ad
Return NULL for the affected value and not for all the measurements
...
Right now we're doing INNER JOINS when we JOIN the _procgeoms and
the data so we end up with NULL value instead of id, NULL value. We need
to have the id available to make the JOIN at the end of the query and
provide results like this:
id | data
----+------------------------------------------------------------------
1 | [{"value" : 858469},{"value" : 73.9397964478},{"value" : 69092}]
2 | [{"value" : 738774},{"value" : null},{"value" : 2235406}]
2017-06-29 10:37:07 +02:00
John Krauss
ccb8092506
1.5.1 release artifact
2017-05-16 14:27:49 +00:00
John Krauss
6266262427
new code to handle mixed geometries more quickly
2017-05-10 20:24:21 +00:00
John Krauss
183c046289
release artifact
2017-04-26 20:08:44 +00:00
John Krauss
8df89f4a91
remove br subdistritos from testing
2017-04-25 18:57:12 +00:00
John Krauss
28694163a2
prefer geographpic precision over most recent timespan, handles issues emerging from inclusion of 1-year acs
2017-04-25 18:53:12 +00:00
John Krauss
3ebb0b8662
Merge branch 'release-v-1.5.0' into obs-getavailablegeometries-return-tags
2017-04-24 18:10:43 +00:00
John Krauss
a2e84696dc
fix tests to match fixture data
2017-04-24 18:01:38 +00:00
John Krauss
cd5cb38e8d
Merge branch 'release-v-1.5.0' into obs-getavailablegeometries-return-tags
2017-04-24 17:50:57 +00:00
John Krauss
26e1a2f461
Add tags to obs_getavailablegeometries
...
Fixes #260
* Adds `geom_type`, `geom_extra`, and `geom_tags` to `OBS_GetAvailableGeometries`. This brings it up to spec with existing docs.
* Adds `timespan_type`, `timespan_extra`, and `timespan_tags` to `OBS_GetAvailableTimespans` for consistency.
2017-04-03 21:51:32 +00:00
John Krauss
090a1add43
add suggested_name output to OBS_GetMeta. fixes #279
2017-04-03 19:44:00 +00:00
John Krauss
536af5e4a2
release artifact
2017-03-22 15:17:19 +00:00
John Krauss
61552adba4
Allow for target_geoms and target_area override on column-by-column basis
2017-03-21 17:26:02 +00:00
John Krauss
217ca2d84d
release 1.3.5 artifact
2017-03-15 20:12:06 +00:00
John Krauss
f1bf4259bc
release artifact 1.3.4
2017-03-10 20:17:22 +00:00
John Krauss
01779991bb
Remove erroneously commited NOTICE
2017-03-10 20:13:27 +00:00
John Krauss
ec53d354e9
release 1.3.3 artifact
2017-03-10 19:48:23 +00:00
John Krauss
93ebd9aa0f
test getdata across multiple input columns; remove dead code from autotest
2017-03-10 19:27:06 +00:00
John Krauss
4a29c060ef
fix unittest bug, easier to read use of unnest, static geomvals when one passed in
2017-03-10 19:18:06 +00:00
John Krauss
1639bea74a
mark relevant functions STABLE
2017-03-10 18:36:51 +00:00
John Krauss
765cbfcccc
only do polygon operations when polygons passed in
2017-03-10 16:32:31 +00:00
John Krauss
c4f3c5d534
selectively pass through obs geometries and area calcs
2017-03-10 16:23:27 +00:00
John Krauss
d5e7d95824
fix performance regression on getboundariesbygeometry, where pct overlap was being unnecessarily calculated
2017-03-09 21:26:53 +00:00
John Krauss
3ff1b36d7f
remove erroneous NOTICE
2017-03-09 20:46:38 +00:00
John Krauss
7ef035580f
avoid geom calculation when points are passed in
2017-03-09 17:29:41 +00:00
John Krauss
20b347528c
tests passing
2017-03-09 17:14:20 +00:00
John Krauss
d070802f53
resolving API bugs
2017-03-09 16:17:58 +00:00
John Krauss
3f817f8e9a
bugfixes, most unit tests passing
2017-03-09 05:03:25 +00:00
John Krauss
5ca2664a17
first pass much faster multicolumn getdata via precalcs
2017-03-09 04:12:38 +00:00
John Krauss
1b913c77c4
fix last oustanding bug with autotest
2017-03-08 23:18:07 +00:00
John Krauss
22eb6349c2
fix issues with python autotest failing for nulls, try removing case statements around geometries in getdata
2017-03-08 21:17:45 +00:00
John Krauss
862db2c33a
Merge remote-tracking branch 'origin/release-v-1.3.3' into faster-autotest
...
Conflicts:
src/pg/sql/40_observatory_utility.sql
2017-03-08 20:52:31 +00:00
John Krauss
e2f92d78cf
much faster autotest by grouping in getdata, fixes to getdata to prevent hangs
2017-03-08 20:51:41 +00:00
John Krauss
3b6b1b4843
limit safe_intersection to SRID 4326, DRY out ST_MakeValid
2017-03-08 15:52:19 +00:00
John Krauss
deede798e9
fix non-noded intersection between shoreline clipped and non-shoreline clipped geometries by using a safe_intersection function
2017-03-07 20:38:12 +00:00
John Krauss
fd3918b29c
fix divide-by-zero errors
2017-03-07 16:45:15 +00:00
John Krauss
cdf7b17a4d
tmp commit
2017-03-07 15:29:09 +00:00
John Krauss
50ec6dddf6
release-v1.3.2 artifact
2017-03-02 21:16:22 +00:00
John Krauss
0ebe9babeb
update tests
2017-03-02 21:09:23 +00:00
John Krauss
4fad32d5f2
fix and NEWS.md
2017-03-02 21:07:29 +00:00
John Krauss
f0efa1e2eb
release v1.3.1
2017-03-01 16:33:35 +00:00
John Krauss
bcbd8a2be4
change OBS_GetLegacyMetadata to return median/average measures too when called for polygons
2017-03-01 16:03:14 +00:00
John Krauss
71d891c067
handle blank aggregates
2017-02-16 17:53:38 +00:00
John Krauss
01b56fbfcc
update fixtures
2017-02-16 17:38:18 +00:00
John Krauss
9bda063148
Merge branch 'nonsum-interpolation' into release-v-1.3.1
2017-02-16 17:20:38 +00:00
John Krauss
4a97689705
add point for au
2017-02-16 16:50:40 +00:00
John Krauss
2edb850a45
estimate average and median across arbitrary areas if universe is provided, otherwise return null and raise a notice. fixes #252
2017-02-10 01:08:10 +00:00
Mario de Frutos
0f372604db
Remove fdw utilities
2017-01-26 11:57:24 +01:00
Mario de Frutos
c5a715f7b5
Delete empty sql file used for plpython code
2017-01-25 19:03:51 +01:00
John Krauss
e4b38413cd
skip a few autotests that are failing, but not meaningfully exposed in interfaces
2017-01-25 17:23:36 +00:00
John Krauss
ee84604ced
empty file to clear out artifacts from built extension
2017-01-25 17:09:38 +00:00
John Krauss
5e7bffae6a
remove plpython and python code for now. also removed mistaken installation of postgres_fdw in tests
2017-01-25 16:59:37 +00:00
John Krauss
aa807eb65b
fix hang generating fixtures
2017-01-18 23:28:46 +00:00
John Krauss
80277ba065
optimizations for cases where small amounts of metadata passed into obs_getmeta
2017-01-18 23:15:27 +00:00
John Krauss
0e4a514753
use simplification in obs_getdata for very complex geoms
2017-01-18 21:44:02 +00:00
John Krauss
fc74529a04
ensure fixture creation worked or do not run tests
2017-01-18 21:16:53 +00:00
John Krauss
0e99e62eb2
remove unused table-level functions and dependencies
2017-01-17 22:51:30 +00:00
John Krauss
3db98fb522
full testing suite for obs_getdata and obs_getmeta
2017-01-17 22:49:29 +00:00
John Krauss
c18f16ed6d
handle cases with mixed geometries in obs_getdata correctly
2017-01-17 22:49:04 +00:00
John Krauss
afe4c27dd5
obs_getdata takes api_method and api_args in both forms, and handles them correctly; cleanup to getdata, added more tests
2017-01-14 01:14:42 +00:00
John Krauss
c2dc4fb8b9
add test for third-party call
2017-01-10 21:55:48 +00:00
John Krauss
bc4f1b5909
support use of dynamic tables (API-generated) in obs_getdata
2017-01-10 21:44:49 +00:00
John Krauss
267af19911
fix perftest to work with renamed core functions
2017-01-10 16:03:12 +00:00
John Krauss
7c093741dc
major refactor of internals
2017-01-10 02:28:38 +00:00
John Krauss
4886222776
adaptation of obs_getmeasuredatamulti that can return geoms from a boundingbox
2017-01-04 21:18:56 +00:00
John Krauss
ddbe1b6763
return shops as part of POI for OSM
2017-01-04 18:23:52 +00:00
John Krauss
218840bfa8
first-pass function for overpass working
2017-01-04 16:59:48 +00:00