Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Diagram for .NET
»
Map simplification
Map simplification
Post Reply
Map simplification
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Kevin Harrison
Kevin Harrison
posted 15 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 52,
Visits: 1
The help file gives the following simplification example:
NPolygonShape polygonShape = (NPolygonShape)shape;
NPointFList simplifiedPointList = NPointFList.Simplify(polygonShape.Points, 3);
polygonShape.Points = simplifiedPointList.ToArray();
Can I use this to simplify an existing shape file as I read it in? I tried putting this code in the OnPolygonCreated and OnMultiPolygonCreated callbacks, but I suspect it is too late by then. Additionally how do I decide what to use as the tolerance parameter? 3 is no good for my map because it is far too large. Is there a simple algorithm I can apply to determine the best tolerance parameter?
Thanks
Kevin
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Map simplification
Kevin Harrison
-
15 Years Ago
Hi, you can apply the simplification whenever you want. It is a...
Nevron Support
-
15 Years Ago
Hi What I am trying to do is load a very complex map (of Canada), but...
Kevin Harrison
-
15 Years Ago
Hi, currently there's no way to simplify the map while loading it. If...
Nevron Support
-
15 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search