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
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