[Qgis-developer] Interpolation plugin

Tim Sutton tim at linfiniti.com
Tue Jul 8 07:24:14 EDT 2008


Hi Marco

I made a quick patch so that you can build it out of qgis source tree.
The install prefix in cmake .. will be ignored - the plugins will go
into your qgis plugins dir based on which qgis instance you are using.
I build like this:

ccmake .. -DQGIS_CORE_LIBRARY=/home/timlinux/apps/lib/libqgis_core.so
-DQGIS_GUI_LIBRARY=/home/timlinux/apps/lib/libqgis_gui.so
-DQGIS_PLUGIN_DIR=/home/timlinux/apps/lib/qgis/
-DQGIS_INCLUDE_DIR=/home/timlinux/apps/include/qgis/

I made a quick test run using the points layer in qgis tests/testdata
and it worked great!

Regards

Tim

2008/7/8 Marco Hugentobler <marco.hugentobler at karto.baug.ethz.ch>:
> Hi Tim
>
> Oops, you are right.
> CMakeLists.txt is added now.
>
> Thanks,
> Marco
>
> Am Dienstag 08 Juli 2008 10:10:47 schrieb Tim Sutton:
>> Hi Marco
>>
>> Cool stuff! I tried to compile but the CMakeLists.txt seems to be
>> missing from your tarball.
>>
>> Regards
>>
>> Tim
>>
>> 2008/7/8 Marco Hugentobler <marco.hugentobler at karto.baug.ethz.ch>:
>> > Hi all,
>> >
>> > I wrote a plugin for spatial interpolation. The plugin is still in
>> > experimental stage. However, it already is possible to produce raster
>> > layer (ascii grid format by now) from a vector layer using linear
>> > triangulation or inverse distance weighting. The plugin code is here:
>> >
>> > http://karlinapp.ethz.ch/interpolation_plugin.tgz
>> >
>> > To compile, unpack in src/plugins directory and add 'interpolation' to
>> > the first line in src/plugins/CMakeList.txt:
>> >
>> >  SUBDIRS (copyright_label delimited_text grid_maker north_arrow scale_bar
>> > interpolation)
>> >
>> > The code for triangular interpolation originates from my phd several
>> > years ago. There are some capabilities that are provided by this code
>> > which are not accessible through the plugin GUI yet:
>> > - cubic triangular interpolation (clough-tocher methode or coons patch)
>> > - modify the delaunay triangulation by swapping edges
>> > - mark input data as constrained triangle edges or breaklines
>> >
>> >
>> > The interpolation plugin is generic enough to support other type of
>> > interpolation methods. If you want to see your favorite interpolation
>> > method in QGIS, all you have to do is to provide a subclass of
>> > QgsInterpolator and a subclass of QgsInterpolatorDialog that takes the
>> > parameter for the interpolation method.
>> >
>> > Regards,
>> > Marco
>> >
>> > --
>> > Dr. Marco Hugentobler
>> > Institute of Cartography
>> > ETH Zurich
>> > Technical Advisor QGIS Project Steering Committee
>> > _______________________________________________
>> > Qgis-developer mailing list
>> > Qgis-developer at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> --
> Dr. Marco Hugentobler
> Institute of Cartography
> ETH Zurich
> Technical Advisor QGIS Project Steering Committee
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Tim Sutton
QGIS Project Steering Committee Member - Release Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: interpout.jpg
Type: image/jpeg
Size: 37581 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20080708/3e672dba/interpout-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tim_interpolator_patch.diff
Type: text/x-diff
Size: 5345 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20080708/3e672dba/tim_interpolator_patch-0001.bin


More information about the Qgis-developer mailing list