[GRASS-dev] [GRASS GIS] #1586: v.in.wfs complains about xerces-c support in GDAL
GRASS GIS
trac at osgeo.org
Sat Apr 13 08:17:22 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 |
--------------------------------+-------------------------------------------
Changes (by neteler):
* type: enhancement => defect
* component: Packaging => Vector
Comment:
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:
{{{
# 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
}}}
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
}}}
Test on downloaded XML file (attached to this ticket for inspection):
{{{
GRASS 6.4.3svn (latlong):/tmp > v.in.ogr 8822.0.xml out=cities_1m
Projection of input dataset and current location appear to match
Layer: geonam_gt1M
WARNING: Width for column gml_id set to 255 (was not specified by OGR),
some strings may be truncated!
WARNING: DBMI-DBF driver: column name 'alternatenames' truncated to
'alternaten'
WARNING: DBMI-DBF driver: column name 'featureclass' truncated to
'featurecla'
WARNING: DBMI-DBF driver: column name 'featurecode' truncated to
'featurecod'
WARNING: DBMI-DBF driver: column name 'countrycode' truncated to
'countrycod'
WARNING: DBMI-DBF driver: column name 'modificationdate' truncated to
'modificati'
Counting polygons for 206 features...
Importing map 206 features...
Segmentation fault (core dumped)
ogrinfo --version
GDAL 1.9.1, released 2012/05/15
# OGR itself does not have problems:
ogrinfo -ro 8822.0.xml
INFO: Open of `8822.0.xml'
using driver `GML' successful.
1: geonam_gt1M (Point)
uname -a
Linux oboe.localdomain 3.8.4-202.fc18.x86_64 #1 SMP Thu Mar 21 17:02:20
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1586#comment:8>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list