[GRASS-dev] access to grass (trunk 7.0.svn ) vector map from
python
Fernando Pacheco
fernando.pacheco at ingesur.com.uy
Wed Jun 16 13:09:27 EDT 2010
Everything works correctly now, the problem has been fixed.
I think the interface generated automatically with ctypesgen (like that of
SWIG) isn't attractive for inexperienced developers. It works very well and
is fast, but the calls to the functions are complex (logically identical to
those of C) and is not what an average developer would expect in Python.
In the coming months we will be developing an interface for finite element
modeling (Fenics project=Dolfin, Tritetmesh, etc.). We will start by making
access to vector layers with Python more friendly, taking as a starting
point what has been generated with ctypesgen. Thank you. Greetings.
Fernando.
Ing. Fernando Pacheco M.S.L.
Ingesur srl
Dirección: Requena 1062 ap.302, Montevideo, Uruguay.
Teléfonos: (+598 2) 408 90 48, (+598 9) 962 79 32
Web: http://ingesur.com.uy/
On Wed, Jun 16, 2010 at 12:13 PM, Glynn Clements
<glynn at gclements.plus.com>wrote:
>
> Fernando Pacheco wrote:
>
> > I think there is an error in the generation process with ctypesgen for
> > vector.py. The problem is that "dig_estructs.h" needs the heading
> > "ogr_api.h" which is not found in the path included. The problem is
> solved
> > if you add the path to that file (in my case -I/usr/include/gdal).
>
> Try r42567.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20100616/def10fc1/attachment.html
More information about the grass-dev
mailing list