From fec1156c758ea73be011599917b1925059daa7f1 Mon Sep 17 00:00:00 2001 From: Simon Arnell <14029547+simonarnell@users.noreply.github.com> Date: Sat, 1 Jul 2023 19:55:46 +0100 Subject: [PATCH] Update README.md added text relating to use of `flatten` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4647ed8..0e35a0e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Original maps were sourced from the Office for National Statistics' [Geoportal]( ogr2ogr -f "GeoJSON" -t_srs EPSG:4326 -s_srs EPSG:27700 ``` -As the [South London Partnership](https://southlondonpartnership.co.uk) is not a formal administrative organisation, its boundary was formed by creating a GeoJSON [FeatureCollection](https://datatracker.ietf.org/doc/html/rfc7946#section-3.3) of [Features](https://datatracker.ietf.org/doc/html/rfc7946#section-3.2) and utilising [TurfJS](https://turfjs.org)'s [dissolve](https://turfjs.org/docs/#dissolve) function. +As the [South London Partnership](https://southlondonpartnership.co.uk) is not a formal administrative organisation, its boundary was formed by creating a GeoJSON [FeatureCollection](https://datatracker.ietf.org/doc/html/rfc7946#section-3.3) of [Features](https://datatracker.ietf.org/doc/html/rfc7946#section-3.2) and utilising [TurfJS](https://turfjs.org)'s [dissolve](https://turfjs.org/docs/#dissolve) function, creating a GeometryCollection object. Finally TurfJS's [flatten](https://turfjs.org/docs/#flatten) function is utilised to convert the GeometryCollection back to a simple FeatureCollection. The generated GeoJSON files then required conversion to KML for import into Google Maps. Again `ogr2ogr` was utilised, this time with the following syntax: ```