Commit Graph

110 Commits

Author SHA1 Message Date
Mike Simpson
79adb2d49d New Keys for Typology category
- Keys for all subcategories (except original building use)
- Buttons to change key/visible layer

Re: Issue #1212
2023-07-25 17:05:51 +01:00
Mike Simpson
906ebd7431 Add Disaster Management section to Resilience Category 2023-04-17 21:48:21 +01:00
Mike Simpson
07cb6b4846 Add Survival Source 2023-04-06 15:21:59 +01:00
Mike Simpson
8418b5f6c0 WIP - Survival Status data saving
Activate Survival Status drop down box on Age and History category. Allow it to be set, saved and visualised.
2023-04-05 15:13:48 +01:00
traveller195
4dcd3de93a
change data definiton for tile mapstyle of 'location' and 'team'
using Subquery/ nested SQL Qquery to only load those buildings, having at least a few collected data. The benefit is, that the mapstyle is not different for nodata buildings comparing different data categories. Now, if you compare nodata buildings in 'team' or 'location' with others, the stroke width is larger than the normal map style... loading only builidings with data avoids this problem of different map styles. It is a better and more performant solution than changing it in polygon.xml
see also c80f243c0d
2023-03-08 15:30:39 +01:00
Mateusz Konieczny
26a330f743 likes typology display 2023-02-07 12:28:17 +01:00
Mateusz Konieczny
cee0c16edf add new map style for domestic status 2023-02-07 11:42:05 +01:00
Mateusz Konieczny
e3e9e83632 allow mixed answer for domestic use 2023-02-07 11:42:05 +01:00
Mateusz Konieczny
ae0e0bb2b6 Add question whether building is domestic. 2023-02-07 11:42:01 +01:00
Mike Simpson
9c1e22663e
Merge pull request #1066 from matkoniecz/fix/assorted-fixes
assorted fixes
2023-01-23 11:21:59 +00:00
Mateusz Konieczny
5dc71a4194 fix last year map display
fixes https://github.com/colouring-cities/colouring-core/issues/12
2023-01-23 06:49:45 +01:00
Mateusz Konieczny
159acb249b more aggressive caching
in tests it seems confirmed that caching noticeably improves performance (Polly noticed that age layer is noticeably faster without being aware that it is cached more aggressively, in testing in general all layers benefit from caching even at zoom level 18 for relatively minor storage cost and differences in the first use performance that are basically not possible to measure (or at least I failed to measure them)

caching will be especially important as more people will use the site and will help reduce server costs

see also #1062 proposing further simplification of this code
2023-01-20 21:48:18 +01:00
Mateusz Konieczny
e6245aae50 Revert "Revert "remove empty map layer""
This reverts commit 86d437a609.

This fixes #1051
2023-01-19 14:40:16 +01:00
Mateusz Konieczny
31b75fa041 fix typo in performance optimization 2023-01-04 13:10:45 +01:00
Mateusz Konieczny
86d437a609 Revert "remove empty map layer"
This reverts commit 32752fe71e.
2022-12-22 15:12:09 +01:00
Mateusz Konieczny
23dad86f7f style borough labels across all zoom levels 2022-12-18 19:49:58 +01:00
Mateusz Konieczny
9cc0c48c3f smarter performance on editing by excluding some unchanged layers 2022-12-18 19:49:58 +01:00
Mateusz Konieczny
12164620e9 cache more for base_night_outlines and base_boroughs 2022-12-18 19:49:58 +01:00
Mateusz Konieczny
c4933fdc11 proof of concept for borough names with Mapnik-based tiles 2022-12-18 19:49:47 +01:00
Mateusz Konieczny
19770cd343 add outline for historic map on top of it 2022-12-08 20:42:56 +01:00
Mateusz Konieczny
32752fe71e remove empty map layer 2022-12-02 15:30:12 +01:00
Mateusz Konieczny
5c3139ff6f drop unwanted layers 2022-12-02 15:28:50 +01:00
Mateusz Konieczny
7b8da1f6cb better whitespace 2022-12-02 15:26:09 +01:00
Mateusz Konieczny
c66038c036 Merge remote-tracking branch 'upstream/master' into feature/display-of-planning-data 2022-11-23 10:11:55 +01:00
Mateusz Konieczny
bec6277706 add special empty map
I am deeply unhappy about ugly disclaimer handling though right now I have no good ideas how to provide nicer display
2022-11-21 22:10:44 +01:00
Mateusz Konieczny
51b0b44146 provide more clear errors 2022-11-18 17:32:16 +01:00
Mateusz Konieczny
b4b17c7c48 date cacing hack 2022-11-08 16:23:38 +01:00
Mateusz Konieczny
1de5c51209 new layers 2022-11-07 10:50:50 +01:00
Mateusz Konieczny
5d3f374cf7 record and show raw status from data 2022-11-05 10:06:49 +01:00
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