Modify

Opened 9 years ago

#12449 new enhancement

Implement max consecutive distance

Reported by: jseigneuret-pro@… Owned by: *Martin*
Priority: normal Milestone:
Component: Plugin simplifyArea Version:
Keywords: max_distance Cc:

Description

Hello,
For this tool, there is simplify-way.max-error parameter and i have set it to 0.08 for cleaning natural=water data import.

My question is : It's possible to set a new parameter to avoid delete node if the distance betweew forward and backward nodes after delete is longer than a specific distance (in meters)

the parameter can be: simplify-way.max-consecutive-distance

this exemple explain what i mean

I set a parameter to 300 meters
simplify-way.max-consecutive-distance=300

And a threshold to 0.08
simplify-way.max-error=0.08

schema:

200 101

A--------------B-------C

My way contain 3 nodes A,B,C (and other but to explain it more easy with 3 nodes)
The result of Ramer–Douglas–Peucker algorithm want delete the B node but... I Don't want delete B because the result distance is longer than simplify-way.max-consecutive-distance paramerter
In my case 300m is the max accepted distance between two nodes.

Thank you

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain *Martin*.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from *Martin* to the specified user.
Next status will be 'needinfo'. The owner will be changed from *Martin* to jseigneuret-pro@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from *Martin* to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.