Commit Graph

81 Commits

Author SHA1 Message Date
Mateusz Konieczny
adbe79727a new test layers 2022-11-05 10:06:49 +01:00
Mateusz Konieczny
146148a08a rework colours in map style 2022-11-04 15:01:36 +01:00
Mateusz Konieczny
66ee4f2235 split old planning data into separate section 2022-11-04 11:37:13 +01:00
Mateusz Konieczny
8cbb3cd84b Display official planning data. 2022-10-05 19:52:14 +02:00
Mateusz Konieczny
cea4bad4e4 proper input form for UNESCO WHS 2022-09-24 12:57:22 +02:00
Mateusz Konieczny
4fb388ea92 add visualisation for more types of data being used 2022-09-24 12:57:22 +02:00
Mateusz Konieczny
20f99e9103 Redesign interface listing protection
Per @polly64 checkbox fields were removed and switch was made to using links as both as input method and for providing source.

It is no longer possible to just claim that something is listed/featured, entering data will now be also faster
2022-09-24 12:57:17 +02:00
Mateusz Konieczny
3cb5ee5dca Allow community to mark expected applications 2022-07-04 11:40:14 +02:00
Ed Chalstrey
e1e8328c05 use date_year 2022-06-10 15:25:44 +01:00
Ed Chalstrey
56abebf4de add team_info_count to deteermin colour 2022-06-10 14:45:39 +01:00
Ed Chalstrey
c8ab93ab9f add current_landuse_verified to dataDefinition 2022-05-05 13:56:00 +01:00
Ed Chalstrey
d73a526835 refactor query to 3 way join 2022-04-21 16:48:35 +01:00
Ed Chalstrey
ac82c33bcb refactor attempt 2022-04-21 16:29:34 +01:00
Ed Chalstrey
121f1ae13f only modify query when table is buildings 2022-04-21 16:22:25 +01:00
Ed Chalstrey
322df6df53 more generic way to not display demolished buildings 2022-04-21 16:12:45 +01:00
Ed Chalstrey
6bfbff7a58 un-demolished buildings only 2022-04-21 15:24:46 +01:00
Mateusz Konieczny
3b25d7f36e Special colors for hotels/garden buildings
part of #724
2022-02-15 19:57:25 +01:00
Maciej Ziarkowski
a4d1afab81 Rewrite map with hooks, add map colour toggle
Map and Legend components rewritten using hooks.
Also, each category can now have multiple available colour scales.
These can be switched using a select dropdown in the legend.
2021-10-01 13:30:03 +01:00
Maciej Ziarkowski
c262922af9
Correct tile renderer map bounds for London
This updates the hard-coded bounding box for London, to correctly render tiles for parts of London east of Upminster.
2021-05-12 00:06:42 +01:00
Maciej Ziarkowski
4aa35b94dd Add logical toggle for demolished buildings 2021-03-18 19:44:16 +00:00
Maciej Ziarkowski
542fe6634b Add simple dynamics map definition 2021-03-11 19:16:37 +00:00
Maciej Ziarkowski
a881b66d76
Fix bug in tile cache switch
By default, only base_night and base_light tile layers were cached.
2021-02-24 07:21:44 +00:00
Maciej Ziarkowski
edde1fc1c7 Add mapnik XML directory to build output
Enables deploying the whole app by simply copying the build folder
2021-02-15 18:27:31 +00:00
Maciej Ziarkowski
1ff3b38c4a
Refactor data maps and add building outlines (#630)
* Add subtle border for age layer buildings

* Simplify map data queries

* Fix typo in updated construction layer query

* Enable data tile caching switch for development

* Enable turning tile cache off

* Use render time variables for highlight tiles

* Create building numbers map layer

* Create database view for simpler map queries

* Decrease min zoom for numbers layer

* Add building outlines to all map layers

* Adjust building numbers style and zoom level

* Revert "Create database view for simpler map queries"

This reverts commit e3c342cb7393f491c838df5654c2316a9dab08e1
which cannot be implemented before upgrading Postgres to min v11
2021-01-29 02:40:11 +00:00
Tom Russell
d1c42a40a6 Rename construction migration to 017, fix tile definition
Note that enum types need to be cast to ::text for mapnik
rules to work as expected.
2020-04-17 17:01:21 +01:00
Tom Russell
97953db742
Merge branch 'master' into develop 2020-04-09 13:26:36 +01:00
MeldaS
32bfb490be Modify files for adding colouring map attribute 2020-04-01 12:18:44 +01:00
Maciej Ziarkowski
68ae627901 Add outline to listed bldgs in conservation area 2020-02-16 20:44:45 +00:00
Maciej Ziarkowski
20ceb7af0a Clean up planning legend and map 2020-02-16 18:04:08 +00:00
Maciej Ziarkowski
3c157f079f Add listed buildings to planning map and legend 2020-02-09 22:51:03 +00:00
Maciej Ziarkowski
68af41c16c
Fix query for height map activation 2020-01-16 17:04:17 +00:00
Maciej Ziarkowski
9cba25405a Activate height to apex colour map 2020-01-16 14:52:10 +00:00
Maciej Ziarkowski
51a2a3a1d8 Add tile layer and style for land use 2019-12-02 15:12:02 +00:00
Maciej Ziarkowski
529d535b6d Merge branch 'develop' into feature/sort-imports 2019-11-13 11:47:51 +00:00
Tom Russell
ba501dfc3c
Merge pull request #466 from mz8i/feature/72-increase-max-zoom
Allow zoom level 19 with OS basemap interpolation
2019-11-12 10:43:40 +00:00
Maciej Ziarkowski
739bcad08a Lint semicolons 2019-11-07 09:13:30 +01:00
Maciej Ziarkowski
8019e77200 Organise imports in tileserver 2019-11-07 07:48:51 +00:00
Maciej Ziarkowski
0240e94adc Allow zoom level 19 with OS basemap interpolation 2019-10-08 17:40:30 +01:00
Maciej Ziarkowski
27ba5310bb Cache base layers but don't clear on bbox clear 2019-10-07 17:27:22 +01:00
Maciej Ziarkowski
ed999e1311 Use gravity instead of top/left for tile composite 2019-10-07 17:01:41 +01:00
Maciej Ziarkowski
14b79ce891 Simplify tile stitching with sharp
The new method uses the composite() method of sharp
to reduce the number of times a PNG buffer is created.
The number could be further reduced from two to one,
if the issue #1908 from lovell/sharp is resolved so that
composite and resize can be chained without an
intermediate call to .png().toBuffer()
2019-10-07 16:21:36 +01:00
Maciej Ziarkowski
5417b5c8b6 Use functions instead of classes in tile rendering 2019-10-07 13:34:22 +01:00
mz8i
606a36ce6c
Activate type category and colour map (#446) 2019-10-02 14:34:44 +01:00
mz8i
fa089f10e1
Feature/435 activate sustainability (#445)
* Add colour scale definition for sustainability DEC

* Add sustainability DEC data render definition

* Activate sustainability category
2019-10-02 13:32:00 +01:00
mz8i
ecc928b910
Use tile scale cache suffix for scale above 1 only (#440)
The tile params formatting is used for caching.
Don't add the @1x suffix for scale 1, in order to
re-use old cache from before retina tiles were enabled
2019-10-01 17:03:08 +01:00
Maciej Ziarkowski
269e6ba989 Add tileset param validation in tile server 2019-09-17 18:35:05 +01:00
Maciej Ziarkowski
fe3f02bd85 Allow missing base layer query param for highlight 2019-09-17 18:19:21 +01:00
Maciej Ziarkowski
5adb8e6146 Use new renderers in tile server 2019-09-17 18:11:42 +01:00
Maciej Ziarkowski
5995adeb88 Add data and rendering definition 2019-09-17 18:03:20 +01:00
Maciej Ziarkowski
ae0202d6da Add blank, branching renderers 2019-09-17 18:01:48 +01:00