[R-sig-Geo] Reshaping geographic data

Ann Hartell ahartell at gmail.com
Tue Oct 18 13:24:05 CEST 2016


Howdy Georg,

I've followed this tutorial/example to dissolve related polygons into
larger spatial units:
https://philmikejones.wordpress.com/2015/09/03/dissolve-polygons-in-r/

And Roger has additional info here:
https://cran.r-project.org/web/packages/maptools/vignettes/combine_maptools.pdf

Hope these resources help get you where you want to go,
Ann H.


----------------------------------------------------------------------

Message: 1
Date: Tue, 18 Oct 2016 10:31:34 +0200
From: G.Maubach at weinwolf.de
To: r-sig-geo at r-project.org
Subject: [R-sig-Geo] Reshaping geographic data
Message-ID:
        <OFD1A821BB.C32D3B56-ONC1258050.0027A1CA-C1258050.
002ED610 at lotus.hawesko.de>

Content-Type: text/plain; charset="US-ASCII"

Hi All,

I need to reshape an ESRI shape file: http://arnulf.us/PLZ and resp
http://www.metaspatial.net/download/plz.tar.gz

This means that I need to combine the areas of the ZipCodes (i. e. PLZ) to
the ZipCode regions (i. e. PLZ Leitregion).

Example:
The city "Duesseldorf" has a couple of ZipCodes for different parts of the
city, e. g. 40210 40211 40212 40213 40215 40217 and so on. The ZipCode
region (PLZ Leitregion) is "40".

What I need to do is to combine the area information in the above given
ESRI shapefile to get the area for the ZipCode region.

I found an instruction for T-SQL Server:

https://blog.oraylis.de/2010/05/german-map-spatial-data-
for-plz-postal-code-regions/

How can I do this using R?

Kind regards

Georg

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list