[gdal-dev] autotest 1.6 errors - need help

William Kyngesburye woklist at kyngchaos.com
Thu Aug 13 19:06:59 EDT 2009


I haven't tried since then.  Are you also using OSX?

Maybe I should try again, after 2 GDAL updates and a Xerces 3 update...

On Aug 13, 2009, at 5:50 PM, Ethan Alpert wrote:

>
> Was there ever any resolution to this problem?
>
> I'm using 1.6 and xerces 3.0. When I try to read GML created with  
> GDAL I
> get the following error:
>
> ERROR 1: <coordinates> element missing value
>
>
>
> -----Original Message-----
> From: gdal-dev-bounces at lists.osgeo.org
> [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of William
> Kyngesburye
> Sent: Monday, December 01, 2008 8:13 PM
> To: Even Rouault
> Cc: gdal-dev at lists.osgeo.org
> Subject: Re: [gdal-dev] autotest 1.6 errors - need help
>
> On Dec 1, 2008, at 12:20 PM, Even Rouault wrote:
>
>> Yes, ILI/IOM has been fixed, but the GML driver has also been
>> changed so that
>> it behaves correctly with Xerces 3.0. I can confirm that GDAL
>> 1.6.0RC2 passes
>> the GML autotest when compiled and run against xerces-3.0.0 (x86
>> Linux).
>> Are you sure you running a very recent GDAL ? The fix was commited
>> in r15773,
>> on 2008/11/20, between beta2 and RC1.
>>
>
> Ah, something wrong with Xerces 3, at least with mine.  GDAL 1.6RC3
> now, same errors.  Rebuilt GDAL with Xerces 2.8 and all I get is:
>
>   TEST: ogr_gml_4 ... fail
>     Wrong featureCode field value
>
> ILI still succeeds.
>
> The full set of errors with Xerces 3 is:
>
>   TEST: ogr_gml_1 ... ERROR 1: <coordinates> element missing value.
> fail (blowup)
> Traceback (most recent call last):
>   File "pymod/gdaltest.py", line 89, in run_tests
>     result = func()
>   File "./ogr_gml_read.py", line 72, in ogr_gml_1
>     if feat.GetField('Name') != 'Aartselaar':
> AttributeError: 'NoneType' object has no attribute 'GetField'
>   TEST: ogr_gml_2 ... ERROR 1: <coordinates> element missing value.
> fail (blowup)
> Traceback (most recent call last):
>   File "pymod/gdaltest.py", line 89, in run_tests
>     result = func()
>   File "./ogr_gml_read.py", line 100, in ogr_gml_2
>     if gml_ds.GetLayerCount() != 1:
> AttributeError: 'NoneType' object has no attribute 'GetLayerCount'
>   TEST: ogr_gml_3 ... ERROR 1: <coordinates> element missing value.
> fail (blowup)
> Traceback (most recent call last):
>   File "pymod/gdaltest.py", line 89, in run_tests
>     result = func()
>   File "./ogr_gml_read.py", line 139, in ogr_gml_3
>     if feat.GetField('ngd_id') != 817792:
> AttributeError: 'NoneType' object has no attribute 'GetField'
>   TEST: ogr_gml_4 ... ERROR 1: <coordinates> element missing value.
> fail (blowup)
> Traceback (most recent call last):
>   File "pymod/gdaltest.py", line 89, in run_tests
>     result = func()
>   File "./ogr_gml_read.py", line 181, in ogr_gml_4
>     if feat.GetField('featureCode') != 10198:
> AttributeError: 'NoneType' object has no attribute 'GetField'
>   TEST: ogr_gml_5 ... ERROR 1: <coordinates> element missing value.
> success

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect




More information about the gdal-dev mailing list