Hi,

I guess which method is better depends on use case. For visualization it may 
not be critical to cut some narrow branches like at the east coast in this demo 
https://bost.ocks.org/mike/simplify/

-Jukka-

Lähettäjä: Michaud Michael [mailto:m.michael.mich...@orange.fr]
Lähetetty: 27. lokakuuta 2016 16:31
Vastaanottaja: Rahkonen Jukka (MML) <jukka.rahko...@maanmittauslaitos.fi>
Aihe: RE: [JPP-Devel] Visvalingam-Whyatt simplifier


Hi Jukka,



Yes, the algorithm comes directly from JTS. Here is how MD explains the 
parameter :



"The simplification tolerance is specified as a distance.
This is converted to an area tolerance by squaring it."



I tried it quickly on a surface representing a river and noticed that it tends 
to truncate norrow affluents or to split the original polygon into a 
disconnected multipolygon. Maybe better for  winding road simplification than 
for norrow surfaces.



Michaël



De : "Rahkonen Jukka (MML)"

Date d'envoi : jeudi 27 octobre 2016 à 14h28

A : "OpenJump develop and use 
(jump-pilot-devel@lists.sourceforge.net<mailto:jump-pilot-devel@lists.sourceforge.net>)"
 
<jump-pilot-devel@lists.sourceforge.net<mailto:jump-pilot-devel@lists.sourceforge.net>>

Objet : [JPP-Devel] Visvalingam-Whyatt simplifier
Hi Michaël,

I tried http://sourceforge.net/p/jump-pilot/code/5110 with road network data 
and Visvalingam-Whyatt seems to keep the shape of winding roads better than 
Douglas-Peucker. I wonder what is the parameter of the function presenting. Is 
it the maximum delta in area that is accepted when the algorithm is removing 
vertices?

Does the algorithm come directly from JTS?

-Jukka Rahkonen-



------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik


_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to