Opened 18 years ago
Closed 18 years ago
#6 closed defect (fixed)
geometry buffer operation fails on curvepolygon
Reported by: | pagameba | Owned by: | tomfukushima |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Feature Service | Version: | 1.1.0 |
Severity: | major | Keywords: | |
Cc: | jbirch | External ID: | 916050 |
Description
I have some data that is correctly rendering as polygons but does not buffer correctly using the AJAX viewer buffer operation. I have dumped the WKT of the feature:
CURVEPOLYGON ((-123.94884211782004 49.168238831862574 (LINESTRINGSEGMENT (-123.94854780008535 49.168268848308159, -123.94825348198435 49.1682988640056, -123.94829573817191 49.168477224793179, -123.94888439769528 49.168417203908902, -123.94884211782004 49.168238831862574))))
Buffering this geom results in a buffer that appears to be a circle around one point in the polygon (I didn't check but I'd guess its the first coordinate).
I'm not sure what component to stick this in. There isn't anything for the Geometry API so I'm sticking it in the feature service, please reassign as appropriate.
Attachments (1)
Change History (13)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Go ahead and forward the dataset Paul, with the understanding that it is only for diagnosing this problem.
comment:3 by , 18 years ago
Cc: | added; removed |
---|
comment:4 by , 18 years ago
Anonymous Bob (?) should learn to log into Trac!!!
With permission from Jason, you can download the file (temporarily) from:
http://www2.dmsolutions.ca/netbin/mapguide/ticket6.sdf (16M)
Please let me know when you have the file and I will remove it from the download site. I don't really want Jason's sdf floating around forever and I don't have the tools to extract a single feature from an SDF as a new SDF.
comment:5 by , 18 years ago
External ID: | → 916050 |
---|
My bad, I didn't realize that I had to login last time; Trac obviously doesn't know everything.
I've got the file now. Thanks.
I found the line segment (it seems to be the top part of two joined line segments that are almost vertical) in the SDF file that seems to correspond to the geometry above, but putting a 1 meter buffer around it works fine. I have attached a picture of the buffer. What size buffer are you creating, this can affects the behavior of the buffer algorithm?
comment:6 by , 18 years ago
Owner: | set to |
---|
comment:7 by , 18 years ago
Oh wait, I selected the wrong feature class for the layer. Let me try one of the polygon classes.
comment:9 by , 18 years ago
Ok, no comments about my data :)
I dont think it should be curvepolygons anyway. I think that dataset is in LL, and I would have stroked any arcs on the way there; they don't tend to do well in LL.
It's probably set to curvepolygon because I chose a not-very-appropriate setting in FME.
I'd be interested in knowing if the same problem happens in a projected CS.
comment:12 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Paul, do you have an SDF3 (or another data file that MGOS recognizes) that contains the linestring above? This may save us a step of having to create an app that uses the above.