[R-sig-Geo] simplify map for web use
Alex Mandel
tech_dev at wildintellect.com
Wed Oct 30 22:26:55 CET 2013
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
More information about the R-sig-Geo
mailing list