New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Risk Analysis selection at high resolution (e.g. MSOA) does not perform acceptably #78
Comments
Performance to load 28 COMARE nuclear installation sites at 5Km and 25Km:
Most browsers (e.g. Opera, Chrome) except IE11 will work to LS0A level; at COA level the size of the browser process will exceed 3GB and this will crash any not fully 64 bit. The only ones currently known to work are Firefox and Edge. Edge crashes restoring COA COMARE test study but can create intersects. Attempts to fix by reorder the code failed; it crashes soon after loading COA GeoJSON tiles;
How disable annoying message A web page is slowing down your browser in Firefox::
|
The current patch is an acceptable temporary solution. The proposed solution to high memory usage in high resolution risk analysis studies is not convert the GeoJSON tiles to PNG tiles in the Java middleware using the Geotools library used for the maps: (https://gis.stackexchange.com/questions/245875/convert-geojson-to-pnghttps://gis.stackexchange.com/questions/245875/convert-geojson-to-png). The tile background would need to be transparent and the tile "clipped" to the correct pixel size. If this is not feasible then another route is via Maptools vector (mvt) tiles using node; the tilemaker would be extended to produce the PNG tiles. It is probably not possible to generate Java middleware tiles on the fly; Node tiles would need to be pre-generated. Because even a large study like COMARE uses only 24% of the tiles at COA level the TopoJSONGridLayer would be enhanced to have an area_id inclusion list; so only the shapes selected for the study would be loaded. This would reduce the memory load by 75% and allow use of postcode centroid geography and minimize the impact on the existing code. This code would be enabled if the number of areas in the geolevel exceeds 5,000 as in the mouse click reduction code. |
Risk Analysis selection at high resolution (e.g. MSOA) does not perform acceptably. Remove layer triggers, may need conventional tiles. Issue #66 mouse click through via squares may also help.
The text was updated successfully, but these errors were encountered: