[OSGeo-Discuss] C++ library for "gridding"
Jachym Cepicky
jachym.cepicky at centrum.cz
Mon Oct 16 23:23:20 PDT 2006
hi Rob,
On Mon, Oct 16, 2006 at 11:14:26PM -0400, Frank Warmerdam wrote:
> Rob Agar wrote:
> >hi,
> >
> >I have some elevation data in the form of a list of sampled points that
> >I would like to convert into a regular grid. Rather than writing my own
> >code for doing this, I was wondering if there is a C++ library for doing
> >this kind of transformation? (eg does OGR do this?)
> >
> >The data is comma separated longitude, latitude and elevation.
> >
> >Any advice, pointers, links to tutorials etc much appreciated - I'm new
> >to GIS, and the learning curve is steep!
>
> Rob,
>
> There are several algorithms for this in GRASS I believe. Search GRASS
> for Kriging and inverse distance interpolators and you should find some
> options.
>
> GDAL/OGR does not include an algorithm for point interpolation, though
> OpenEV does have one (simple inverse distance I think) that I have
> contemplated porting to GDAL/OGR.
>
> Best regards,
as Frank pointed out, GRASS is the tool you are searching for. GRASS
has no direct support for Kriging, but it is possible to provide this
via R package or gstat.
GRASS's modul v.surf.rst is the module, which works for most data the
best. See [1] for details.
Jachym
[1] http://grass.itc.it/grass61/manuals/html61_user/v.surf.rst.html
--
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------
OFFICE:
Department of Geoinformation Technologies
Zemedelska 3
613 00, Brno
Czech Republick
e-mail: xcepicky at node.mendelu.cz
URL: http://mapserver.mendelu.cz
Tel.: +420 545 134 514
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.osgeo.org/pipermail/discuss/attachments/20061017/399a1b2b/attachment.sig>
More information about the Discuss
mailing list