[Qgis-developer] Interpolation plugin

Marco Hugentobler marco.hugentobler at karto.baug.ethz.ch
Wed Jul 9 08:15:57 EDT 2008


Yes, if there are no objections from other devs, I'm going to commit it to 
qgis svn after the feature freeze is over.

Regards,
Marco

Am Mittwoch 09 Juli 2008 12:24:50 schrieb Tim Sutton:
> Oh by the way it would be really great to see this go into QGIS 1.0!
>
> Regards
>
> Tim
>
> 2008/7/9 Tim Sutton <tim at linfiniti.com>:
> > Hi
> >
> > My pleasure. In case it wasnt obvious from my last email if you are
> > compiling against QGIS in a 'default' location there is no need to do
> > anything more than
> >
> > ccmake ..
> >
> > to configure. Parameters I listed were for if you want to compile
> > against a non standard location for QGIS.
> >
> > Regards
> >
> > Tim
> >
> > 2008/7/9 Marco Hugentobler <marco.hugentobler at karto.baug.ethz.ch>:
> >> Hi Tim,
> >>
> >> Thanks a lot for the patch. It is appied now in the tarball
> >>
> >> Regards,
> >> Marco
> >>
> >> Am Dienstag 08 Juli 2008 13:24:14 schrieb Tim Sutton:
> >>> 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
> >>
> >> --
> >> Dr. Marco Hugentobler
> >> Institute of Cartography
> >> ETH Zurich
> >> Technical Advisor QGIS Project Steering Committee
> >
> > --
> > 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



-- 
Dr. Marco Hugentobler
Institute of Cartography
ETH Zurich
Technical Advisor QGIS Project Steering Committee


More information about the Qgis-developer mailing list