[GRASS-dev] [GRASS GIS] #1586: v.in.wfs complains about xerces-c support in GDAL
GRASS GIS
trac at osgeo.org
Sat Apr 13 11:19:52 PDT 2013
#1586: v.in.wfs complains about xerces-c support in GDAL
--------------------------------+-------------------------------------------
Reporter: alf | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Vector | Version: svn-releasebranch64
Keywords: wingrass, v.in.wfs | Platform: MSWindows Vista
Cpu: Unspecified |
--------------------------------+-------------------------------------------
Comment(by hellik):
Replying to [comment:8 neteler]:
> I have enabled the previously suppressed error messages from the WFS
> server in r55754 (6.4) and r55754 (6.5).
>
> New debugging: As a start on Linux:
osgeo4w (DEBUG=3 on)
> {{{
> # Geonames - Cities with > 1 million population:
>
> ogrinfo -ro
WFS:"http://mapserver.flightgear.org/ms?Service=WFS&request=GetFeature&typename=geonam_gt1M"
> INFO: Open of
`WFS:http://mapserver.flightgear.org/ms?Service=WFS&request=GetFeature&typename=geonam_gt1M'
> using driver `WFS' successful.
> 1: geonam_gt1M
> }}}
{{{
C:\tmp\wfs>ogr2ogr --version
GDAL 1.9.2, released 2012/10/08
C:\tmp\wfs>ogrinfo -ro
WFS:"http://mapserver.flightgear.org/ms?Service=WFS&reque
st=GetFeature&typename=geonam_gt1M"
INFO: Open of
`WFS:http://mapserver.flightgear.org/ms?Service=WFS&request=GetFea
ture&typename=geonam_gt1M'
using driver `WFS' successful.
1: geonam_gt1M
}}}
>
> but next fails with segfaulting OGR:
> {{{
> v.in.wfs
wfs="http://mapserver.flightgear.org/ms?Service=WFS&request=GetFeature&version=1.0.0&typename=geonam_gt1M"
output=geonam_gt1M
> }}}
{{{
v.in.wfs output=geonam_gt1M
wfs="http://mapserver.flightgear.org/ms?Service=WFS&request=GetFeature&version=1.0.0&typename=geonam_gt1M"
D2/3: filename =
C:/OSGeo4W/apps/grass/grass-6.4.3svn/scripts/v.in.wfs
D2/3: g.parser: set GIS_OPT_WFS=\http://mapserver.flightgear
.org/ms?Service=WFS&request=GetFeature&version=1.0.0&typenam
e=geonam_gt1M"
D2/3: g.parser: set GIS_OPT_OUTPUT=geonam_gt1M
D3/3: win_spawn: args = C:\windows\system32\cmd.exe /c
"C:\OSGeo4W\apps\msys\bin\sh.exe
C:/OSGeo4W/apps/grass/grass-6.4.3svn/scripts/v.in.wfs
@ARGS_PARSED@"
Retrieving data ...
curl: (1) Unsupported protocol: \http
D2/3: G__read_Cell_head
D2/3: G__read_Cell_head_array
D3/3: region item: proj: 3
D3/3: region item: zone: 0
D3/3: region item: north: 50N
D3/3: region item: south: 40N
D3/3: region item: east: 20E
D3/3: region item: west: 0
D3/3: region item: cols: 24000
D3/3: region item: rows: 12000
D3/3: region item: e-w resol: 0:00:03
D3/3: region item: n-s resol: 0:00:03
D3/3: region item: top: 1.000000000000000
D3/3: region item: bottom: 0.000000000000000
D3/3: region item: cols3: 24000
D3/3: region item: rows3: 12000
D3/3: region item: depths: 1
D3/3: region item: e-w resol3: 0:00:03
D3/3: region item: n-s resol3: 0:00:03
D3/3: region item: t-b resol: 1
D3/3: G_adjust_Cell_head: epsilon_ns: 8.33333e-008,
epsilon_ew: 1e-006
ERROR: Unable to open data source
<C:\grassdata/srtm41gar/test/.tmp/7464.0.xml>
ERROR: WFS-XML file not readable. Check if xerces-c support is compiled
into GDAL/OGR library.
D1/3: g.parser: ret = 1
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1586#comment:12>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list