[GRASS-dev] v.in.wfs

Hi all.
The module apparently requires curl, but this is not a requirement of the package. I have the QGIS module ready, but before committing it we should add this dependency, otherwise in many systems it will not work.
Any thoughts?
Furthermore, I get frequent errors:

Unable to open data source

WFS-XML file not readable. Check if xerces-c support is compiled into GDAL/OGR library.

using the advertised

v.in.wfs "wfs=http://webgis.regione.sardegna.it/geoserver/ows?service=WFS&request=GetCapabilities&version=1.0.0" output=sard

but not with the maunal example

v.in.wfs \
wfs="http://mapserver.gdf-hannover.de/cgi-bin/grassuserwfs?REQUEST=GetFeature&SERVICE=WFS&VERSION=1.0.0" out=grass_users

All the best.
--
http://www.faunalia.it/pc

On Thu, Nov 11, 2010 at 6:09 PM, Paolo Cavallini <cavallini@faunalia.it> wrote:

Hi all.
The module apparently requires curl, but this is not a requirement of the
package.

In the script there is a test if curl is installed.
I have now added this requirement also to the manual.

I have the QGIS module ready, but before committing it we should
add this dependency, otherwise in many systems it will not work.
Any thoughts?

What do you mean with "adding"? Or do you refer to the manual?

Furthermore, I get frequent errors:

Unable to open data source

WFS-XML file not readable. Check if xerces-c support is compiled into
GDAL/OGR library.

using the advertised

v.in.wfs
"wfs=http://webgis.regione.sardegna.it/geoserver/ows?service=WFS&request=GetCapabilities&version=1.0.0&quot;
output=sard

Does
ogrinfo --formats
show the format on your system?

but not with the maunal example

v.in.wfs \

wfs="http://mapserver.gdf-hannover.de/cgi-bin/grassuserwfs?REQUEST=GetFeature&SERVICE=WFS&VERSION=1.0.0&quot;
out=grass_users

Unfortunately no idea...

have a nice QGIS hackfest,
Markus

Il 11/11/2010 18:31, Markus Neteler ha scritto:

In the script there is a test if curl is installed.
I have now added this requirement also to the manual.

Yes, but this makes the module unsuitable as a QGIS module, IMHO.

What do you mean with "adding"? Or do you refer to the manual?

I mean, if curl is a dependency of GRASS, then it's ok. The end user should have everything installed before running a program, not being asked to install it during normal usage.

ogrinfo --formats
show the format on your system?

MMh, strange: apparently not, but http://mapserver.gdf-hannover.de is read.
All the best.
--
http://www.faunalia.it/pc

Hi,

2010/11/11 Paolo Cavallini <cavallini@faunalia.it>:

I mean, if curl is a dependency of GRASS, then it's ok. The end user should
have everything installed before running a program, not being asked to
install it during normal usage.

it's dependency of v.in.wfs, not of GRASS as a whole. Just note:
replacing bash scripts in GRASS 6 by Python scripts from GRASS 7 would
solve many problems including this one.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa