mapper icon indicating copy to clipboard operation
mapper copied to clipboard

Unify Areas tool error !

Open AhmetPolat43 opened this issue 2 years ago • 9 comments

Ekran görüntüsü 2022-06-29 181222 Ekran görüntüsü 2022-06-29 181250 Ekran görüntüsü 2022-06-29 181337 Ekran görüntüsü 2022-06-29 181401 Ekran görüntüsü 2022-06-29 181437

Steps to reproduce

1.I imported a building plan into OOMapper. 2.When I want to combine adjacent buildings and get a single building image, it becomes a building that goes into infinity. 3.What is causing this? I tried with 6-7 different data but still the same result. the file is in the link https://dosya.co/twkh16fbqdbo/1.dxf.html

Configuration

Mapper Version:0.9.5 Operating System:Windows 10

AhmetPolat43 avatar Jun 29 '22 15:06 AhmetPolat43

Thanks for reporting the problem. I cannot exactly reproduce your steps. Maybe you can share the map file, at the state just before the failing "Unify areas" operation?

dg0yt avatar Jun 29 '22 15:06 dg0yt

Thanks for reporting the problem. I cannot exactly reproduce your steps. Maybe you can share the map file, at the state just before the failing "Unify areas" operation?

https://dosya.co/r3ooh9eoy7l3/^2076_ıssues.omap.html

AhmetPolat43 avatar Jun 29 '22 15:06 AhmetPolat43

Does the problem also occur when you close the map after import, open it again, and then call the operation? (When loading your demo map, I get: "Some coordinates were out of bounds for printing. Map content was adjusted." And I cannot reproduce the issue yet.)

dg0yt avatar Jun 29 '22 15:06 dg0yt

I saved it without converting first. Then turn it off and on again. Do the conversion. Merge buildings, no problem

AhmetPolat43 avatar Jun 29 '22 15:06 AhmetPolat43

Thanks, problem solved

AhmetPolat43 avatar Jun 29 '22 15:06 AhmetPolat43

Thank you for the feedback. We know a workaround now, and some approximate conditions which can trigger the issue. I know we have seen this before...

dg0yt avatar Jun 29 '22 15:06 dg0yt

For reproducing the issue with the 1.dxf file as provided above it is important to select a map scale of 1:4000 or less. Then the issue can be reproduced for different symbol sets and for different symbols. When creating an empty map or changing the map scale after import the issue does occur for e.g., 1:3000, 1:4000 but not for 1:4500, 1:5000, 1:10000. Example:

  • new map with 1:10000, ISOM 2017-2
  • import 1.dxf and change objects to symbol 522
  • try to unify some buildings as shown above -> ok
  • undo and change map scale to 1:4000
  • try to unify some buildings as shown above -> fail

dl3sdo avatar Jul 06 '22 12:07 dl3sdo

Confirmed with 1:4000, DXF import with "real coordinates".

dg0yt avatar Jul 07 '22 06:07 dg0yt

The DXF import creates paper coodinates 1 million millimeters aways from the origin. This is app. 1 billion internal units (2E30), really close to the numeric limits of signed 32 bit integers.

dg0yt avatar Jul 07 '22 06:07 dg0yt