Am 28.09.2011 23:50, schrieb Michael Klein: > On Wed, 28 Sep 2011, Oliver Eichler wrote: > >>> Admittedly I am no JavaScript fan at all, but Lua looks definitely more >>> non-programmer friendly than QtScript to me, but that might be just my >>> impression. >> >> That is more or less my point of view, too. However as filter scripts >> will require some user input QtScript will be the only way to go. But >> maybe we can achieve something similar with Lua. What about a list >> widget with known scripts and a text box. If you select a script the >> list box shows the parameters like: >> >> a = 5 >> b = 6 > > that seems a bit awkward. How about header tags describing the input > parameters and building the GUI dynamically? > > -- #input a 5 "some descriptive text" > -- #input b 6 "b is self-explanatory"
And not to forget a documenting text for the whole filter. Good idea. > >>> Occasionally it makes also sense to tweak Douglas-Peucker, BTW: We have a >>> long >>> straight road here with a moderately steep 40m hill, which gets mostly >>> flattened >>> out by the standard 2D-Douglas-Peucker, because it doesn't take elevation >>> data >>> into account ;-) >> >> Usually Douglas-Peucker is used to hit the 500 point limit on old >> devices. For all other cases I appreciate the current algorithm, which >> takes the elevation into account, too. > > I'm puzzled, what is the current algorithm? Does it hide somewhere in QLGT? > > The current algorithm is to hide track points below a certain distance threshold if they do not differ with a given azimuth and do not have an elevation change more than 3m. By that clouds of points while not moving around are removed. And the one ore the other unnecessary point on a straight line. Oliver ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
