1import{a as i,f as l}from"./prMQfd4z.js";import"./mldxPRGW.js";import{f as u,s as a,t as g,c as s,r as n}from"./DcC8UNfy.js";import{s as v}from"./B0QkixyE.js";import{R as b}from"./CNznTKpI.js";import{D as _}from"./BCUA6gvR.js";import{F as w}from"./ZoWP3sRM.js";const x={title:"Minify"},{title:k}=x;var $=l(`<p>The tolerance value represents the maximum distance allowed between the original trace and the simplified trace. 2You can read more about the algorithm used <a href="https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm" target="_blank">here</a>.</p>`),y=l('<h1><!> </h1> <p>This tool can be used to reduce the number of GPS points in a trace, which can be useful for decreasing its size.</p> <p>You can adjust the tolerance of the simplification algorithm using the slider, and see the number of points that will be kept, as well as the simplified trace on the map.</p> <div class="flex flex-row justify-center"><!></div> <!>',1);function T(m){var r=y(),e=u(r),o=s(e);w(o,{size:"24",class:"inline-block",style:"margin-bottom: 5px"});var d=a(o);n(e);var t=a(e,6),c=s(t);b(c,{class:"text-foreground p-3 border rounded-md shadow-lg"}),n(t);var f=a(t,2);_(f,{children:(p,D)=>{var h=$();i(p,h)},$$slots:{default:!0}}),g(()=>v(d,` ${k??""}`)),i(m,r)}export{T as default,x as metadata};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.