Opened 10 years ago

Closed 10 years ago

#3030 closed defect (fixed)

X-Plane reader: Bezier curves in Pavement and APTLinefeature not curved

Reported by: martin Owned by: Even Rouault
Priority: normal Milestone: 1.6.2
Component: OGR_SF Version: 1.6.1
Severity: normal Keywords:
Cc:

Description


Attachments (1)

KSFO-861.png (155.8 KB) - added by Even Rouault 10 years ago.
Screenshot of KSFO airport after fix of r17248.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 10 years ago by Even Rouault

Milestone: 1.6.2
Resolution: fixed
Status: newclosed

Summary of private discussion between Martin and me :

Previous code that reads pavement and linear feature assumed that we would always have 2 consecutive nodes with control points to use the Cubic Bezier interpolation.

Now, when we see sequences such as : regular node, node with bezier control point, regular node, ... we use quadratic Bezier interpolation.

Fixed in trunk (r17428) and branches/1.6 (r17249).

With this patch, Martin still observed : "There are still a few rough edges, like at the northern end of taxiway Lima - see the black circle - but this might be due to data inaccuracies." See attached screenshot.

I've identified this as being following linear feature :

120 Linear Feature 3
111  37.62576689 -122.36775705  51 101 
111  37.62580185 -122.36678590 
112  37.62580185 -122.36678590  37.62582874 -122.36624260  51 101 
115  37.62598204 -122.36609319

The result we get seems to be consistent with the above coordinates. Look like the coordinates 37.62580185 -122.36678590 are wrong/inaccurate.

Changed 10 years ago by Even Rouault

Attachment: KSFO-861.png added

Screenshot of KSFO airport after fix of r17248.

Note: See TracTickets for help on using tickets.