- Install Octave.: https://www.gnu.org/software/octave/
- Download the nurbs Pacakge from: http://octave.sourceforge.net/nurbs/index.html
- At Octave Command Prompt type ( Same directory as the downloaded file)
- pkg install nurbs-version.tar.gz (put version number in place of version)
- pkg load nurbs
The code is structured as follows:
-
A data store class will act as a repository for GIS information. This will be in charge of data storage, caching and retrieval. The data itself may be
- Unstructured (E.g. Land value information)
- Structured (Altitude data) @akulsareen
In both cases an interpolation scheme is needed to answer queries that don't lie at points. This will have to be a fast method of the class. @akashrajkn
-
A cost function which will return the cost of a track represented by a BSpline. The arguments to the cost function will be the control vertices and other parameters.
-
A solver function which optimizes the cost
-
A visualization tool to show the curve superimposed on the GIS data.