mapper
mapper copied to clipboard
Unify Areas tool error !
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
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?
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
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.)
I saved it without converting first. Then turn it off and on again. Do the conversion. Merge buildings, no problem
Thanks, problem solved
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...
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
Confirmed with 1:4000, DXF import with "real coordinates".
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.