From b55e053dccaefadfd95563d4f1a004a4df7b95a0 Mon Sep 17 00:00:00 2001 From: springmeyer Date: Fri, 24 Aug 2012 10:44:00 -0700 Subject: [PATCH] Created CSV Plugin (markdown) --- CSV-Plugin.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 CSV-Plugin.md diff --git a/CSV-Plugin.md b/CSV-Plugin.md new file mode 100644 index 0000000..8be2276 --- /dev/null +++ b/CSV-Plugin.md @@ -0,0 +1,7 @@ +_New in Mapnik 2.1_ + +This plugin can read tabular data with embedded geometries. It auto-detects column types based on common sense type coercion and auto-detects geometry data by looking for header names like `latitude/lat` and `lon/long/lng/longitude` that likely encode point data. It can also handle GeoJSON and WKT encoded geometries and will find these if any column headers are named `geojson` or `wkt` (case-insensitive). + +This plugin reads the entire file upon initialization and caches features in memory so it is extremely fast for rendering from after initial startup (for reasonable size files under 5-10 MB). + +For more details on the motivations and design of this plugin see: https://github.com/mapnik/mapnik/issues/902