[postgis-devel] Re: Rounding off coordinates (from Postgis-users)

Markus Schaber schabios at logi-track.com
Thu Jul 1 08:18:11 PDT 2004


Hi, Strk,

On Wed, 30 Jun 2004 02:08:05 +0200
strk <strk at keybit.net> wrote:

> Gino, about removing points:
> 	- You'll never introduce self-intersections

One can introduce self-intersections by removing or rounding points.

Example for the first:

    |
    | 
    *-----* 
--------* |
        | |
        | |
        | |
        | |
        | *---

Now, you remove the point of the outer corner because it is too near to
the two next points:

    |
    | 
    * 
-----X--*
      \ |
       \|
        X 
        |\
        | *---

It's no exact graphics, but I think it should be enough to get the
idea...

Markus

-- 
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 z├╝rich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios at logi-track.com | www.logi-track.com



More information about the postgis-devel mailing list