Hi,
Image didn't attach.
What I would try to do is to buffer your polygon iteratively with -1 meters
until it disappears, and reset the width on each segment of line to the
number of polygons it managed to intersect.
пн, 24 сент. 2018 г. в 8:44, Shane Carey :
> Hi,
>
> I have a river polygon an
Shapefile don`t make difference between multi/single part geometries.
In postgis you can dissolve multipart geometries using ST_Dump.
ST_Dump records record vith geom and path in collection. You should use
somethink like this
SELECT (ST_Dump(geom)).* FROM table
Or ST_GeometryN to obtain n-th geo
On Tue, Mar 12, 2013 at 10:16:20AM -0700, Luis Tavares wrote:
> The use case is precisely calculating the polygon´s centroid by averaging the
> coordinates of all the points of the polygon. In order to perform this I
> think I need to have equally spaced points. Note that I´m working on the
> e
coordinates.
Thanks
Luis Tavares
From: Sandro Santilli
To: Luis Tavares ; PostGIS Users Discussion
Sent: Tuesday, March 12, 2013 8:50 AM
Subject: Re: [postgis-users] polygon with equally spaced points from an
existing polygon
On Mon, Mar 11, 2013 at 09:22
On Mon, Mar 11, 2013 at 09:22:09PM -0700, Luis Tavares wrote:
> How do I create a polygon with equally spaced points from an existing polygon?
Looks like a two steps process:
1) drop vertices that are too close (st_simplify may help)
2) add vertices where missing (st_simplify)
> I know that m
Hi,
Try st_segmentize (http://postgis.net/docs/manual-2.0/ST_Segmentize.html)
Nicolas
On 12 March 2013 09:08, Paolo Corti wrote:
> On Tue, Mar 12, 2013 at 5:22 AM, Luis Tavares wrote:
> > Hi,
> >
> > How do I create a polygon with equally spaced points from an existing
> > polygon?
> >
> > I
On Tue, Mar 12, 2013 at 5:22 AM, Luis Tavares wrote:
> Hi,
>
> How do I create a polygon with equally spaced points from an existing
> polygon?
>
> I know that more the curvature or concavity changes sign more points are
> needed. So one solution would be to calculate the minimum of all distances