Merging Regions of a shapefile
Brock Anderson
banders at REFRACTIONS.NET
Mon Jan 16 11:05:07 PST 2006
Neil,
I tend to use Postgres/PostGIS for this kind of processing.
For example:
Load the data into postgres like this:
shp2pgsql <loader options here> england.shp england_table | psql
Then dump it out again into several shapefiles. Use an SQL statement to
select the regions to include in each file:
pgsql2shp <dumper options here> england_table "select * where ..."
pgsql2shp <dumper options here> england_table "select * where ..."
pgsql2shp <dumper options here> england_table "select * where ..."
Brock
Neil Saunders wrote:
>Hi Folks,
>
>I've got a map of England as a shapefile, containing regions for each
>county. What I'd like to do is merge selected regions in to a larger
>region (E.g Devon, Somerset, Cornwall etc into "Westcountry").
>
>Does any one know a simple (Preferably GUI based) way of achieving this?
>
>Thanks in advance,
>
>Neil.
>
>
More information about the MapServer-users
mailing list