Re: [Gdal-dev] OGR WFS driver
Hello Was WFS support in OGR implemented? I can't find any docs about it? Regards Frode Wiseth Jørgensen Johan Nouvel wrote: Hello, Some informations about our driver : - It uses existing OGR GML driver to parse WFS server message and knows only gml 1.0 answer, so you must specified answer in gml 1.0 in your requests to the server. It should not be difficult to add zipped gml, but for another format (such as shape) it will be a more complex thing to do. - A specific request is done to get capabilities of a wfs server and a xerces parser is used to scan the answer - curl is directly used, no call to cpl_http.h, sorry. - It does not understand WFS style tag. - In fact, it is used to do geometric request on layers and parse the answer to produce ogr data. Next week, I will try to build it directly in ogr (for gdal 1.5.3 release) and look into cpl_http.h. As for being a commiter, I'm sorry but I can't do that during my working time. Regards, Johan. -- Johan Nouvel, RD Engineer http://www.archivideo.com tel : +33 (0)2 99 86 30 20 ARCHIVIDEO, 40 rue des Veyettes, 35000 RENNES, FRANCE ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev -- View this message in context: http://n2.nabble.com/OGR-WFS-driver-tp2035815p4392451.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [Gdal-dev] OGR WFS driver
Frode, I'm not sure where the email from Johan came from. Perhaps it was on the list some time ago? I am not aware of Johan, or anyone else, having contributed a WFS driver to OGR. I do think it would be an interesting thing to have, and I have contemplated doing one from time to time. Best regards, Frode Wiseth Jørgensen wrote: Hello Was WFS support in OGR implemented? I can't find any docs about it? Regards Frode Wiseth Jørgensen Johan Nouvel wrote: Hello, Some informations about our driver : - It uses existing OGR GML driver to parse WFS server message and knows only gml 1.0 answer, so you must specified answer in gml 1.0 in your requests to the server. It should not be difficult to add zipped gml, but for another format (such as shape) it will be a more complex thing to do. - A specific request is done to get capabilities of a wfs server and a xerces parser is used to scan the answer - curl is directly used, no call to cpl_http.h, sorry. - It does not understand WFS style tag. - In fact, it is used to do geometric request on layers and parse the answer to produce ogr data. Next week, I will try to build it directly in ogr (for gdal 1.5.3 release) and look into cpl_http.h. As for being a commiter, I'm sorry but I can't do that during my working time. Regards, Johan. -- Johan Nouvel, RD Engineer http://www.archivideo.com tel : +33 (0)2 99 86 30 20 ARCHIVIDEO, 40 rue des Veyettes, 35000 RENNES, FRANCE ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| Geospatial Programmer for Rent ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [Gdal-dev] OGR WFS driver
Frank Warmerdam wrote: Frode, I'm not sure where the email from Johan came from. Perhaps it was on the list some time ago? Frank, Yes, it's an old message: http://lists.osgeo.org/pipermail/gdal-dev/2008-November/018946.html Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] OGR WFS driver
Hello, Some informations about our driver : - It uses existing OGR GML driver to parse WFS server message and knows only gml 1.0 answer, so you must specified answer in gml 1.0 in your requests to the server. It should not be difficult to add zipped gml, but for another format (such as shape) it will be a more complex thing to do. - A specific request is done to get capabilities of a wfs server and a xerces parser is used to scan the answer - curl is directly used, no call to cpl_http.h, sorry. - It does not understand WFS style tag. - In fact, it is used to do geometric request on layers and parse the answer to produce ogr data. Next week, I will try to build it directly in ogr (for gdal 1.5.3 release) and look into cpl_http.h. As for being a commiter, I'm sorry but I can't do that during my working time. Regards, Johan. -- Johan Nouvel, RD Engineer http://www.archivideo.com tel : +33 (0)2 99 86 30 20 ARCHIVIDEO, 40 rue des Veyettes, 35000 RENNES, FRANCE ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] OGR WFS driver
Johan Nouvel wrote: Hello all, I know GDAL has a WMS and WCS driver, but no WFS driver. After looking into the mailing list archives I have found no references to a WFS driver. For my job, we have developped such a driver (in readonly mode, but write mode is planned) , based on OGR and its GML driver. Is it interesting for GDAL/OGR users to have a WFS driver ? If yes, I could spend time to put our code into gdal source (actually it is separate from gdal source because of a specific compiling process) and then send it in order to be integrated in the svn trunk. Johan, We are indeed interested in having a WFS driver for OGR - whether read-only or read-write. There has been discussion of doing this in the past but there was never sufficient resources to pursue it. I'd suggest preparing the driver code and submitting it as a ticket. But, assuming you are willing, I'd like to propose you as a commiter to take care of final integration and ongoing support. An existing commiter will presumably also be involved to do some review and support. I would like to see such a WFS driver use the existing libcurl interface (as defined in cpl_http.h) if it doesn't already. I'm also curious what you do for parsing the GML. Do you process it through the existing OGR GML driver? Best regards, -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| Geospatial Programmer for Rent ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] OGR WFS driver
Hi Johan, Nice proposal! 2008/11/13 Frank Warmerdam [EMAIL PROTECTED]: ... I'm also curious what you do for parsing the GML. Do you process it through the existing OGR GML driver? WFS mandates GML but allows others. So, if yes, would it be difficult to parametrize the response file format? And I'm also curious how and where you manage metadata needed by getcapabilities? -- Stefan ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev