[Community] WFS and PCL

Javier de la Torre jatorre at gmail.com
Sun Mar 26 20:45:17 EEST 2006


Hi Sean,

Thanks for the fast answer :).

First of all I can point you to the project I am working on:

http://www.pywrapper.org

This software is being created to support a not very well known  
protocol called TAPIR that is similar to WFS. When ready, this  
software will hopefully be installed on a lot of different places to  
create a network of distributed data providers.
Because the TAPIR protocol is so similar to WFS in some aspects I  
started considering providing WFS support to it too.
More specifically I would like to use it to create WFS servers that  
publish complex GML application schemas. The PyWrapper library has  
some cool classes to generate complex XML structures using an  
arbitrary structure on the database used as back-end.

Other requirements of this product is that it must be fast and so is  
using SAX and streaming data as soon as it is gathered from the  
database.

But the biggest reason for working with this software is that is  
going to be deployed potentially in a lot of places and I would like  
to have a WFS interface to all those data providers.

The output part of the server, generating the XML from the database  
is already done by the main libraries of PyWrapper, I just have to  
deal with parsing the request and that is what I am mainly looking  
for...

Of course all these software will be released under a public license  
so hopefully we can consider sharing resources. I might also consider  
implementing WMS.

Thanks again.

Javi.

On 26/03/2006, at 18:34, Sean Gillies wrote:

> On Mar 26, 2006, at 9:01 AM, Javier de la Torre wrote:
>
>> Hi all,
>>
>> I am starting a project to create a WFS server on Python. I just  
>> want to support Basic WFS, that is read only. Hopefully it will  
>> support several databases as the back-end for the data, right now  
>> only points.
>>
>> I was wondering if there is something I could reuse from PCL for  
>> this project. I have read that PCL supports WFS as a back-end for  
>> vector data so I suppose you must have at least a WFS client.
>>
>> Any suggestion will be highly appreciated.
>>
>> Thanks.
>>
>> Javier.
>
> Javier,
>
> It is my intention that PCL will allow you make WFS and WMS  
> servers, and that PrimaGIS (the Plone product) provide basic WFS to  
> go along with its KML output. There is a new feature model in the  
> "dublin" branch under PCL-Data that will enable easy serialization  
> of features to GML, and our datastore interface allows to specify  
> attribute, bounding box, and geometry filters.
>
> I already have a very basic WFS at http://zcologia.com:9001/ 
> mapserver/members/, and described at
>
>   http://zcologia.com/news/63
>
> Much of this cheapo WFS will be adapted for use in PCL. It uses the  
> elementtree library for writing and parsing XML. Adapting the code  
> from the cheapo WFS to the new PCL branch is something that could  
> be a good collaboration for us. What do you think?
>
> WMS and WFS client features are currently in the ZCO/ogclib package
>
>   http://trac.gispython.org/projects/zope/browser/ZCO/trunk/ogclib
>
> I've been intending to factor them out into a separate project, but  
> haven't had the time.
>
> cheers,
> Sean
>
> ---
> Sean Gillies
> http://zcologia.com
>
>
>




More information about the Community mailing list