From d36bd9d4e0faaf4e689ee5f9ef51ff28fd8617bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Balla?= <96133731+balladaniel@users.noreply.github.com> Date: Wed, 22 Nov 2023 13:22:01 +0100 Subject: [PATCH] Update README.md mentioned polygon/hatch in intro --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2654c66..1ab098b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # leaflet-dataclassification -Classifies quantitative data from attributes, styles the features appropriately and also creates a clean, simple and appealing legend depicting the value classes and their associated symbols, all combined in a single step. Classifying point features can be done based on color and size, line features based on color and width, polygon features based on fill color (for choropleth maps). Extends the L.geoJSON layer. +Classifies quantitative data from attributes, styles the features appropriately and also creates a clean, simple and appealing legend depicting the value classes and their associated symbols, all combined in a single step. Classifying point features can be done based on symbol color and size, line features based on color and width, polygon features based on fill color (for choropleth maps) and fill pattern (hatch fill). Extends the L.geoJSON layer. Aims to simplify data visualization and creation of elegant thematic web maps with Leaflet using GeoJSON data, with a more traditional approach of thematic cartography. Although tutorials for defining style functions (to retrieve class colors through pre-defined conditional statements) and basic legend creation exist for Leaflet, those are static (are only created for a specific dataset) and might require using GIS software beforehand to classify and style the dataset properly (to get class boundaries and exact colors), in order to have a visualization that gets the message through. This customizable plugin automates all this and can easily be used for any dataset with quantitative data. As it extends L.GeoJSON, you can have multiple layers of this (with a matched legend for each) to create a more complex data visualization. @@ -163,4 +163,4 @@ const layer = L.dataClassification(data, { ## Hatch fill pattern types Hatch fill patterns provided by [leaflet-hatchclass](https://github.com/samanbey/leaflet-hatchclass). (Gede, M.: Hatch Fill on Webmaps – to Do or Not to Do, and How to Do, Abstr. Int. Cartogr. Assoc., 5, 48, https://doi.org/10.5194/ica-abs-5-48-2022, 2022.) -![Screenshot of different hatch fill pattern modes (distinctionMode option). Samples.](screenshots_hatchfill.png) \ No newline at end of file +![Screenshot of different hatch fill pattern modes (distinctionMode option). Samples.](screenshots_hatchfill.png)