Opened 9 years ago

Closed 9 years ago

#366 closed defect (fixed)

TopologyException on buffer on a valid geometry (depth error)

Reported by: yabo Owned by: geos-devel@…
Priority: major Milestone:
Component: Default Version: 3.2.0
Severity: Unassigned Keywords:
Cc:

Description

I get a TopologyException? on a buffer operation on this geometry.

Using geos 3.2.1 on Linux 64bit with g++ 4.5.0.

010600000001000000010300000001000000430000000DD099A7C7BD05C10000000010770E41EBB1C54FEDCA05C1CCA26DE993F10D41AB1E6C42C2EF05C1D7671DD628780D41A75458319C6806C183FA179D57DB0D41FD31ACF35E0807C1F904B274BC300E41C5606C75B9B507C169C3D67252650E41643B759A4E6908C17C28D55402770E41253271484F6908C1D1B5CF70FF760E4196E03414516908C14FCABE34ED760E41105F5B3A5B6908C11996CABFCB760E414D3086B56B6908C142DC48EAAC760E41186E91E3816908C1186E91E391760E414A097E7F826908C1C9B79A6391760E414B097E7F826908C1C8B79A6391760E414F097E7F826908C1C5B79A6391760E4142DC48EA9C6908C14D3086B57B760E411996CABFBB6908C1105F5B3A6B760E414FCABE34DD6908C196E0341461760E4100000000006A08C10A25EBA65D760E41B13541CB226A08C196E0341461760E41E7693540446A08C1105F5B3A6B760E41BE23B715636A08C14D3086B57B760E41B1F681807D6A08C1C5B79A6391760E41B5F681807D6A08C1C8B79A6391760E41B6F681807D6A08C1C9B79A6391760E41E8916E1C7E6A08C1186E91E391760E41B3CF794A946A08C142DC48EAAC760E41F0A0A4C5A46A08C11996CABFCB760E416A1FCBEBAE6A08C14FCABE34ED760E415D4D7BFBB06A08C10B18742202770E41FBD26A0BB16A08C1866A376802770E416EE46313481E09C1F914B42452650E4109CC530CA1CB09C1CC05B274BC300E41926AA6CE636B0AC1437E199D57DB0D416DCB55E73DE40AC1AD54C55F29780D41154E3AB012090BC1C9A26DE993F10D41F32F665838160BC1FEFFFFFF0F770E41164E3AB012090BC1325D92168CFC0E414314D50E23E20AC128EF4FF6E67C0F41BFB02081E8A20AC17E3DB5DF31F30F414A06D995F3580AC16012EBD9A72610418E9F8F2620550AC11E07BCFEC72610414C907E56A83E0AC16309CCFE172710411CF8107737140AC1E773A4F2E32510412846506A97D909C11EA6DCE42B201041F36AD47C979A09C1B974C3DCBF141041A0BF52AC4F4609C110EDCEC737FC0F418A5C7FE1F7F408C12566D8E997C50F41685FCE0420A408C12DA67D03E08A0F4196A2521BB05208C1E0705D1328510F41DB5332BBDFFF07C1628480E23F1E0F41AB28C99197AA07C1D6FA3CEBAFF90E41F9BBEA76386C07C115B46616F0ED0E41DA4B8C67E03307C160CAD4FABFF00E41EEE724C7370C07C158AA2316F8FA0E41823F33E497F706C19548C90C00030F414F4A64F70FED06C141DC2704D8070F414240330A08E406C17D3A00FB3F0C0F41D85C1D1198D206C1B4CC22F747150F419EB0BDECFFB106C1E57C120CC0270F41AD41C30A488506C114E940F9C7430F411530CCF5BF5406C19BAF9406E8630F4166203B26D81106C14D0D57E70F8F0F410EFB351CDE0006C1F3284448F9980F41BEEB2AF1DCF105C12DEF4FF6E67C0F41EBB1C54FEDCA05C1365D92168CFC0E410DD099A7C7BD05C10000000010770E41

Test program attached.

Attachments (1)

test.cc (2.9 KB) - added by yabo 9 years ago.
minimal test case

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by yabo

Attachment: test.cc added

minimal test case

comment:1 Changed 9 years ago by yabo

Exact error message is:

terminate called after throwing an instance of 'geos::util::TopologyException'
  what():  TopologyException: unable to find edge to compute depths at at -200016 249553

comment:2 Changed 9 years ago by strk

In current development version the exception is cought internally triggering a new attempt at buffering with precision reduction, which succeeds.

comment:3 Changed 9 years ago by strk

Resolution: fixed
Status: newclosed

3.3.0 will work.

Note: See TracTickets for help on using tickets.