Hi folks,
Warning - this is another one of those "is anyone interested in this
stuff" posts :-)
For my project I required a way of mapping mathematical expressions,
optionally taking image position (absolute or proportional) as input.
I'm doing this to create artificial resource maps ('neutral landscape
models' in ecological jargon) for animal population modelling.
The expressions are supplied by the user in a text file (for my app
this is a section within a more general parameters file). Essential
it's a very simple DSL supporting arithmetic and logical operators,
common maths functions, random number gen, and use of local vars.
It's implemented using ANTLR parser and tree grammars. So, in a
nutshell, the user-supplied 'script' is interpreted by the parser and
mapped using JAI ImageFunction.
Essentially it's heading towards an 'analytical coverage' and although
I'm presently working with grids one can imagine applying it for
continuous surfaces.
Michael
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel