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 <[email protected]>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 <[email protected]> >
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
