Message-ID: <5271799F.3050403@wildintellect.com>
Date: 2013-10-30T21:26:55Z
From: Alex Mandel
Subject: simplify map for web use
In-Reply-To: <CAJ=0CtAas6eYhveNOSeF_8jxUGXJGkeEyQL+En8dJSDgEDNfjg@mail.gmail.com>
On 10/30/2013 01:59 PM, Adrian Du?a wrote:
> Dear All,
>
> A question from a very beginner with maps and geographic data.
> I have a map with many (too many) vertices which I would like to use
> interactively over a web page. What I need is to simplify that map,
> make it <similar> to the original one but discarding 90% of the
> current information.
>
> I read that is possible using QGIS (which I have installed), but I
> wonder if it would be possible in R. I would gladly use an R function
> instead of learning how to use QGIS.
>
> Thanks in advance,
> Adrian
>
Not an R method but way easy, http://www.mapshaper.org/
A quick search shows several R packages that also have the
Douglas-Peucker algorithm. Look at 'shapefiles' or 'cshapes' packages
Enjoy,
Alex