Commit Graph

187 Commits

Author SHA1 Message Date
Stepan Kuzmin
da1c4bb15d chore: v0.2.0 release 2018-11-02 16:38:00 +03:00
Stepan Kuzmin
58777a2108 ci: use ekidd/rust-musl-builder:1.30.0 as docker image builder 2018-11-02 14:59:23 +03:00
Stepan Kuzmin
8ac2812d05 fix: function source query params parse 2018-10-18 20:05:33 +03:00
Stepan Kuzmin
be2cc3ea6f doc: update README.md 2018-10-12 18:18:34 +03:00
Stepan Kuzmin
c91198d061 chore: cleanup 2018-10-11 17:31:55 +03:00
Stepan Kuzmin
1e128a7bef feat: add command-line interface 2018-10-10 19:13:53 +03:00
Stepan Kuzmin
c3b6df1295 chore: cleanup 2018-08-25 20:32:21 +03:00
Stepan Kuzmin
334cf72107 test: add table and function source tests 2018-08-25 16:43:31 +03:00
Stepan Kuzmin
ccc986d037 test: add sources_not_found_test 2018-08-25 15:45:04 +03:00
Stepan Kuzmin
0a4adbbdc5 refactor: cleanup with clippy 2018-08-25 13:35:45 +03:00
Stepan Kuzmin
6f710b6fe4 refactor: cleanup 2018-08-16 19:58:15 +03:00
Stepan Kuzmin
63114a8a11 feat: generate function_sources from database 2018-08-16 14:59:31 +03:00
Stepan Kuzmin
2f2b743c33 fix: rename function source query argument to query_params 2018-08-14 19:13:44 +03:00
Stepan Kuzmin
ef7ddace17 fix: pass query string from tilejson endpoint to tiles 2018-08-11 13:39:57 +03:00
Stepan Kuzmin
a7092bc3b8 fix: add schema to function_sources 2018-08-09 17:03:41 +03:00
Stepan Kuzmin
95d92c51ed feat: add function_sources tilejson endpoint 2018-08-09 16:25:06 +03:00
Stepan Kuzmin
cc75ab4a8e fix: properly encode query as json into function_sources 2018-08-09 15:14:44 +03:00
Stepan Kuzmin
241994a570 feat: implement function sources 2018-08-08 19:52:57 +03:00
Stepan Kuzmin
3c3d88b184 feat: split sources into table_sources and function_sources 2018-08-08 15:08:43 +03:00
Stepan Kuzmin
abb4a6d624 do not set source id_column by default 2018-07-30 12:41:30 +03:00
Stepan Kuzmin
8c6914f35c remove runtime sources update support 2018-07-29 13:06:40 +03:00
Stepan Kuzmin
c55e61d27f feat: add config support 2018-07-25 15:02:31 +03:00
Stepan Kuzmin
5532520f42 chore: update actix and actix-web to 0.7 2018-07-24 12:34:01 +03:00
Stepan Kuzmin
63c976e8b9 fix: handle x-rewrite-url header 2018-07-03 20:25:24 +03:00
Stepan Kuzmin
d6aee81b1b fix: handle tables with no properties 2018-06-04 17:46:48 +03:00
Stepan Kuzmin
241dda3184 fix: skip tables with SRID 0 2018-06-04 17:16:10 +03:00
Stepan Kuzmin
612ecddb99 fix: set default tile buffer to 64 2018-05-25 17:22:21 +03:00
Stepan Kuzmin
a1807ccc22 update dependencies, use number of available logical cpu as threads by default 2018-05-25 17:16:59 +03:00
Stepan Kuzmin
0080deb92c feat: rewrite using actix 2018-05-05 12:41:40 +05:00
Stepan Kuzmin
57850c2e80 fix get_sources 2018-03-29 13:11:40 +03:00
Stepan Kuzmin
3b03e4b51d fix cors 2018-03-29 11:47:42 +03:00
Stepan Kuzmin
e3b2d5042b add tilejson endpoint 2018-03-28 19:15:00 +03:00
Stepan Kuzmin
30e4d76808 cleanup 2018-03-28 16:31:49 +03:00
Stepan Kuzmin
48ec709c1a handle empty tiles 2018-03-28 13:08:49 +03:00
Stepan Kuzmin
25b385e14d add query filter support 2018-03-28 12:26:44 +03:00
Stepan Kuzmin
36977bed85 implement sources refreshing 2018-03-27 19:29:41 +03:00
Stepan Kuzmin
04c5be44e7 add RefreshSources message 2018-03-27 17:50:37 +03:00
Stepan Kuzmin
a1965e9af4 implement worker connection 2018-03-27 17:27:51 +03:00
Stepan Kuzmin
2f4c843844 add actors 2018-03-27 16:21:20 +03:00
Stepan Kuzmin
86c12064db WIP: add coordinator 2018-03-27 14:40:33 +03:00
Stepan Kuzmin
e2755187f9 update sources list on index.json request 2018-03-26 18:47:31 +03:00
Stepan Kuzmin
0f222dbe88 cleanup 2018-03-26 16:43:18 +03:00
Stepan Kuzmin
d5e6eaabcb WIP: refactoring 2018-03-26 14:12:43 +03:00
Stepan Kuzmin
31ec5f8615 move tile query to db 2018-03-23 19:47:44 +03:00
Stepan Kuzmin
25e4a8b8cb fix tile handler 2018-03-23 17:19:08 +03:00
Stepan Kuzmin
131069d91d WIP switch to actix-web 2018-03-13 14:32:09 +03:00
Stepan Kuzmin
ad37ab798a restructure app 2018-02-21 17:47:41 +03:00
Stepan Kuzmin
6c8bbc9691 WIP 2018-02-21 17:03:00 +03:00
Stepan Kuzmin
655536e508 switch default tile buffer to 256 2018-02-21 13:42:01 +03:00
Stepan Kuzmin
1e3422c09a WIP: switch to actix 2018-02-21 13:37:31 +03:00
Stepan Kuzmin
10422c4f28 implement tileset list endpoint, cleanup logs 2018-02-12 13:14:21 +03:00
Stepan Kuzmin
ea8f7abaad fix: revert to plain columns in tile properties request 2018-02-06 13:47:47 +03:00
Stepan Kuzmin
e6a19773bf fix: use json instead of jsonb for tile request 2018-02-05 19:46:44 +03:00
Stepan Kuzmin
e81cd4bb98 fix: tileset property types query 2018-02-05 17:13:36 +03:00
Stepan Kuzmin
63b753c81b fix tile properties query 2018-02-02 17:26:23 +03:00
Stepan Kuzmin
680cc507a3 rewrite tilesets query using pg_catalog 2018-02-01 10:26:55 +03:00
Stepan Kuzmin
baad10c2a0 rewrite tile query using CTE 2018-01-31 17:11:14 +03:00
Stepan Kuzmin
d7bbe08b34 limit tile geometry to tile boundaries 2018-01-31 15:15:18 +03:00
Stepan Kuzmin
9a0e2442f0 cleanup 2018-01-31 12:59:44 +03:00
Stepan Kuzmin
f3f13ec60c fix properties in tile query 2018-01-30 11:49:10 +03:00
Stepan Kuzmin
e41ca87439 built-in tilebbox 2018-01-30 11:36:40 +03:00
Stepan Kuzmin
6e68e9838c add missing cache module 2018-01-26 14:12:55 +03:00
Stepan Kuzmin
c6043d6b6d implement lru cache for tiles 2018-01-26 12:45:09 +03:00
Stepan Kuzmin
935b4f6a32 fix source layer name in tile 2018-01-25 12:27:35 +03:00
Stepan Kuzmin
9059551a55 use tileset id as name 2018-01-25 11:09:17 +03:00
Stepan Kuzmin
c8d46d398a dummy rewrite url fix 2018-01-24 19:26:01 +03:00
Stepan Kuzmin
e187a9ace7 dummy host_and_port fix 2018-01-24 17:31:55 +03:00
Stepan Kuzmin
9a295e09d1 add tileset endpoint, add feature properties to tile response 2018-01-24 16:41:03 +03:00
Stepan Kuzmin
1ac60664a9 add condition filtering support 2018-01-22 20:01:44 +03:00
Stepan Kuzmin
77cd4ae3d2 add martin_lib crate 2018-01-19 14:06:01 +03:00
Stepan Kuzmin
d28249ee35 add logger 2018-01-18 19:07:14 +03:00
Stepan Kuzmin
0b111532ad move tileset to separate file 2018-01-18 13:42:06 +03:00
Stepan Kuzmin
a9a4bb5fb9 WIP: tilejson endpoint 2017-12-17 13:51:07 +03:00
Stepan Kuzmin
ca44463c0f refactor tile query 2017-11-27 17:52:07 +03:00
Stepan Kuzmin
2ae8917591 switch to rererouter 2017-11-27 12:48:31 +03:00
Stepan Kuzmin
a5c8294d3c implement tilesets struct 2017-11-26 15:30:51 +03:00
Stepan Kuzmin
2a7af41782 add dummy router with regexp support 2017-11-24 21:49:45 +03:00
Stepan Kuzmin
e7edb6bfc2 move get_tile fn to db module 2017-11-22 18:31:21 +03:00
Stepan Kuzmin
579c3b1365 use lazy_static for Regex compilation 2017-11-22 17:44:45 +03:00
Stepan Kuzmin
6ff36d36d8 cleanup db::get_connection 2017-11-22 17:18:32 +03:00
Stepan Kuzmin
c29c70dbc7 move CORS to module 2017-11-22 16:41:43 +03:00
Stepan Kuzmin
7ac40b4b87 move db to module 2017-11-22 16:32:24 +03:00
Stepan Kuzmin
0fe335f417 fix: remove iron-cors 2017-11-21 15:00:31 +03:00
Stepan Kuzmin
204b132a26 feat: add MVT handler 2017-11-16 21:14:38 +03:00
Stepan Kuzmin
8a44543478 separate handlers by format 2017-11-12 17:51:58 +03:00
Stepan Kuzmin
129bb474f4 implement first draft 2017-10-09 14:29:03 +03:00
Stepan Kuzmin
f08d524e26 initial commit 2017-09-30 13:55:44 +03:00