mapper icon indicating copy to clipboard operation
mapper copied to clipboard

Wrong import / export of OCD in roads and paved area

Open valdisj opened this issue 4 years ago • 6 comments

Steps to reproduce

  1. Import/OPEN OCD file containing 502.2 crossing with 501.1

Actual behaviour

Road and paved area is overlapping so, that road borders are visible. image

Expected behaviour

Road is invisibly merging with 501, as in OCAD viewer. image

Configuration

Mapper Version: 0.9.5 Operating System:MACOS

valdisj avatar Nov 08 '21 20:11 valdisj

Thanks for reporting. I assume there is a gap in the border. This is part of #150.

dg0yt avatar Nov 09 '21 04:11 dg0yt

Actually, there is no gap in the border in OCAD file, it just somehow does not show this border when a paved area is overlapping. That is not the same as in #150

valdisj avatar Nov 09 '21 06:11 valdisj

Please provide a test file.

dg0yt avatar Nov 09 '21 07:11 dg0yt

Example file: Example.ocd.zip

valdisj avatar Nov 10 '21 10:11 valdisj

Open the same file in OOM and in OCAD - you will see the difference in how it is shown. I tried to play arround with color order, but even then something odd is happening, since then border lines of the road become narrow.

valdisj avatar Nov 10 '21 10:11 valdisj

I can confirm that there is a border gap used in OCAD which is ignored by OOM. On the other had the drawing is quite silly, the shape of junction is drawn separately with paved area boundary and fill, but at the same time the road is not interrupted for this passage. Cutting road completely inside the junction will fix the problem.

obrazek

obrazek

krticka avatar Nov 16 '21 14:11 krticka