[postgis-users] wrong ST_Polygonize

karpi.lists at email.cz karpi.lists at email.cz
Tue Jul 12 05:22:02 PDT 2011


Hello,
i was falled into troubles with ST_Polygonize, there is example:

three linestrings:
010200002011080000020000002C35CC432E0325C1E84311A7272930C12B79E346610325C1EE78E89A372930C1

01020000201108000015000000CBA455B5270325C1798A4C671D2930C10C37E255270325C1DDFC01F41D2930C115767D09270325C1D3AA98831E2930C125297FD0260325C19E976B151F2930C1E6CC28AB260325C1F734D3A81F2930C12B48A599260325C19C23263D202930C1A3BA089C260325C1E3F5B9D1202930C1BC6550B2260325C195F3E365212930C1CAAF62DC260325C117DEF9F8212930C171410F1A270325C103B4528A222930C12F3D0F6B270325C15C734719232930C1CD9005CF270325C175D933A5232930C14B607F45280325C1AD1F772D242930C1DD89F4CD280325C129B474B1242930C15842C867290325C1BEED9430252930C157C949122A0325C136BA45AA252930C15534B5CC2A0325C12246FB1D262930C1CB4F34962B0325C1879D308B262930C14C95DF6D2C0325C1A34468F1262930C18F35BF522D0325C119C82C50272930C12C35CC432E0325C1E84311A7272930C1

01020000201108000002000000F2E13C88810325C1158B099BD32830C1CBA455B5270325C1768A4C671D2930C1

They are touched in their end points:
010100002011080000CBA455B5270325C1798A4C671D2930C1
0101000020110800002C35CC432E0325C1E84311A7272930C1

ST_Touches is correct
true
ST_Relate is correct:
FF1F00102

So.. why they are not polygonized together ? Why is polygonized only the multipointed linestring without two short adjacent lines?
Can be this workarounded in some way (but if I want to avoid to change entities by snapping) ?

                                                                                                             thanks for response, pk










More information about the postgis-users mailing list