[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] How remove a single part from a multipart
From:       Mike Toews <mwtoews () gmail ! com>
Date:       2010-09-23 17:45:06
Message-ID: AANLkTi=tKvEJw=c5qGYFLh0UvbX6z3ax6z2NZFkpoCmg () mail ! gmail ! com
[Download RAW message or body]

There aren't any delete/remove/drop geometry functions, so you would
need dissect and re-create the geometry.

But, if you want to do this visually, this is easy. If you have a
recent version of QGIS, just start editing and use the "Delete part"
edit tool.

-Mike

On 23 September 2010 10:28, Andrea Peri 2007 <aperi2007@gmail.com> wrote:
>  Hi,
>
> I need to remove a single part from a multipart geometry.
>
> For example having a multipolygon with three part I need to remove one of
> these parts so the result is a multipolygon with two parts.
>
> In postgis I find a function to extract a single part from a multipart (
> ST_GeometryN ) but don't find nothing to remove one.
>
> So the only method I know is re-create the geometry skipping the part
> unwanted, but I hope to find somethink more simple.
>
> Thx,
>
> Andrea.
>
> _______________________________________________
> postgis-users mailing list
> postgis-users@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic