Commit graph

96 commits

Author SHA1 Message Date
Yohan Boniface
a9af21418b Factorize rows_to_collection 2016-05-17 10:05:39 +02:00
Yohan Boniface
8b5107e6c1 Factorize row_to_feature 2016-05-17 09:45:11 +02:00
Yohan Boniface
49523bd566 Use DictCursor for events query 2016-05-13 21:49:52 +02:00
Yohan Boniface
bc731e686c Use Falcon middleware for common headers 2016-05-13 21:25:33 +02:00
Yohan Boniface
65dd8fad24 Simpler db connection pattern 2016-05-13 21:22:05 +02:00
Yohan Boniface
71719e849f import order 2016-05-13 21:18:11 +02:00
Yohan Boniface
a9f1220bca Use DictCursor for stat query 2016-05-13 21:18:08 +02:00
Yohan Boniface
5458bedd09 Do not generate json by hand 2016-05-13 20:58:37 +02:00
Yohan Boniface
3cde7042a1 pep 8 2016-05-13 20:56:04 +02:00
Christian Quest
c05b744fee limit to 200 events in search results 2016-05-09 18:10:27 +02:00
Christian Quest
08bee9d947 distance is now optional in 'near' search (defaults to 1m) 2016-05-09 16:11:17 +02:00
Christian Quest
a2125a74ba get full geometries with &geom=full 2016-05-09 14:39:27 +02:00
Christian Quest
63ff78eaa1 compute/store geo.geom centroid only once 2016-05-09 14:23:51 +02:00
Christian Quest
5d07c7895d Merge branch 'master' of github.com:openeventdatabase/backend 2016-05-09 14:13:59 +02:00
Christian Quest
0537b09e47 near distance using buffer intersection 2016-05-09 14:13:34 +02:00
Laurent Bossavit
2690347bc8 Implement DELETE method on /event 2016-05-08 17:06:45 +02:00
Christian Quest
48a18584c3 add distance calculation with 'near' search 2016-05-08 16:09:29 +02:00
Christian Quest
093bda5fa6 needed utf-8 decode back 2016-05-08 14:47:20 +02:00
Christian Quest
9897e07a34 unneeded utf-8 decode removed 2016-05-08 14:44:38 +02:00
Christian Quest
b21cbe1d46 start/stop to now by default 2016-05-08 14:43:41 +02:00
Christian Quest
3f2c5d9429 minimal formatting for featurecollections 2016-05-08 11:56:56 +02:00
cquest
1f6cc66b36 Merge pull request #1 from openeventdatabase/updates
Deal with updates
2016-05-08 10:08:06 +02:00
Christian Quest
51ef635674 && instead of @> to match overlapping date ranges 2016-05-08 09:51:16 +02:00
Laurent Bossavit
cac641f26e Deal with updates 2016-05-07 10:59:57 +02:00
Christian Quest
10b92cb555 str() removed around mogrify 2016-05-07 10:44:27 +02:00
Christian Quest
bdb1a9d3dc bytes to string after morgrify 2016-05-07 09:38:36 +02:00
Christian Quest
304250fa7c fix 2016-05-06 22:25:45 +02:00
Christian Quest
be0f5a958f start/stop added + fix 2016-05-06 22:21:12 +02:00
Christian Quest
fe0119e16d fix on when=now 2016-05-06 20:55:16 +02:00
Christian Quest
24e8d28117 search events on type, what, when, where 2016-05-06 20:51:46 +02:00
Christian Quest
81dbb18ef4 has_key > in 2016-05-06 18:06:08 +02:00
Christian Quest
2818e28708 bbox(E,S,W,N) support to filter event list 2016-05-06 18:01:55 +02:00
Christian Quest
1bca268190 safer SQL range in INSERT query 2016-05-06 17:27:01 +02:00
Christian Quest
ad965fffee id/createdate/lastupdate added to properties 2016-05-06 16:48:37 +02:00
Christian Quest
d966e626a3 return centroid of event in lists 2016-05-06 15:59:18 +02:00
Christian Quest
a47007c7dd postgres default connection 2016-05-06 15:22:31 +02:00
Christian Quest
fb7af852c8 resync with master 2016-05-06 15:17:01 +02:00
Christian Quest
1427b3a0e3 list recent current events 2016-05-06 15:08:32 +02:00
Laurent Bossavit
c2a7e37d85 Remove editor, moved to its own repo 2016-05-06 12:14:56 +02:00
Laurent Bossavit
8bf79a1288 Adds an editor for geometry and properties 2016-05-05 22:31:54 +02:00
Laurent Bossavit
6ef16787ab Rework Docker setup, provide for remote DB, add example JSON 2016-05-04 19:22:56 +02:00
Christian Quest
1f8741a14b timestamp ranges instead of single timestamp 2016-05-03 17:11:43 +02:00
cquest
1ea0d66a63 switch to geojson features + geo table 2016-04-30 23:50:28 +02:00
cquest
7f95f8b4d8 lastupdate field on events 2016-04-20 07:48:58 +02:00
cquest
49b116bb5f unique id for events + creation date 2016-04-14 19:05:59 +02:00
cquest
183664f1fb /stats implemented ! 2016-04-14 17:46:30 +02:00