> Take a look at lwgeom/measures.c for examples of working with LWGEOM > types, then look at lwgeom/lwgeom_functions_basic.c to see how to > make wrappers for postgresql. Feel free to ask me if you encounter > any problem. Thanks, that's just what I was looking for. Julian