[postgis-users] To correct Exterior Rings

Richard LEHAUT richard.lehaut at crpf.fr
Wed Feb 12 05:15:28 PST 2014


Hi
You're right, but these problemes are occurred after the ST_Union of few 
geométies.
Thanks
Cheers,
Richard L

Le 12/02/2014 09:42, Rémi Cura a écrit :
> You can also do the same trick, but reverted.
> This time use buffer (positiv), buffer(negativ).
> This should suppress the error in exterior ring.
>
> I have to say this kind of filtering is not ideal to correct geometry ...
> You would probably need a more serious way of cleaning you polygon .
>
> Cheers,
>
> Rémi-C
>
>
> 2014-02-11 17:24 GMT+01:00 Nicolas Ribot <nicolas.ribot at gmail.com 
> <mailto:nicolas.ribot at gmail.com>>:
>
>     Hi,
>
>     You should try st_buildArea, or st_polygonize, as suggested by
>     Remi. It corrects these kinds of errors.
>
>     Nicolas
>
>
>     On 11 February 2014 17:21, Richard LEHAUT <richard.lehaut at crpf.fr
>     <mailto:richard.lehaut at crpf.fr>> wrote:
>
>         My problem is the exterior ring of the polygon. There are
>         points inside of this ring
>         http://hpics.li/2807e0d
>         These points make needless segments
>         http://imagik.fr/uploads/75091 (Inside black circle)
>         Cheers,
>         Richard L
>
>         Le 11/02/2014 17:02, Rémi Cura a écrit :
>>         What is the problem?
>>         What are "internal" lines?
>>         Cheers,
>>         Rémi-C
>>
>>
>>         2014-02-11 16:59 GMT+01:00 Richard LEHAUT
>>         <richard.lehaut at crpf.fr <mailto:richard.lehaut at crpf.fr>>:
>>
>>             Thanks for response
>>             The fourth proposition is correct for external but not
>>             internal lines : ST_Buffer (ST_Buffer (the_geom), -0.1), 0.1
>>
>>             Look http://imagik.fr/uploads/75091
>>             Do you have an idea to solve this new problem?
>>
>>
>>             Cheers,
>>             Richard L
>>
>>             Le 10/02/2014 13:56, Rémi Cura a écrit :
>>>>             simplify
>>>>             simplify preserve topology
>>>>             polygonise then filter on area,
>>>>             opening operator (negativ buffer of X then positiv
>>>>             buffer of X)
>>>>             ...
>>>>
>>>>             Cheers,
>>>>
>>>>             Rémi-C
>>>>
>>>>
>>>>             2014-02-10 13:43 GMT+01:00 Richard LEHAUT
>>>>             <richard.lehaut at crpf.fr <mailto:richard.lehaut at crpf.fr>>:
>>>>
>>>>                 Hi
>>>>                 I succeeded to correct interior rings, but I've
>>>>                 problem wih interior rings.
>>>>                 Looks this screen (black circle).
>>>>                 http://imagik.fr/view-rl/74788
>>>>                 Do you idea to resolve my problem?
>>>>                 Thanks
>>>>                 Richard L
>>>>
>>>>                 _______________________________________________
>>>>                 postgis-users mailing list
>>>>                 postgis-users at lists.osgeo.org
>>>>                 <mailto:postgis-users at lists.osgeo.org>
>>>>                 http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>>>
>>>>
>>>
>>
>>
>
>
>         _______________________________________________
>         postgis-users mailing list
>         postgis-users at lists.osgeo.org
>         <mailto:postgis-users at lists.osgeo.org>
>         http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20140212/1818672a/attachment.html>


More information about the postgis-users mailing list