[gdal-dev] autotest 1.6 errors - need help

Ethan Alpert ealpert at digitalglobe.com
Thu Aug 13 18:50:54 EDT 2009


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/

First Pogril: Why is life like sticking your head in a bucket filled  
with hyena offal?
Second Pogril: I don't know.  Why IS life like sticking your head in a  
bucket filled with hyena offal?
First Pogril: I don't know either.  Wretched, isn't it?

-HitchHiker's Guide to the Galaxy


_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

This electronic communication and any attachments may contain confidential and proprietary 
information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee 
responsible for delivering this communication to the intended recipient, or if you have received 
this communication in error, please do not print, copy, retransmit, disseminate or 
otherwise use the information. Please indicate to the sender that you have received this 
communication in error, and delete the copy you received. DigitalGlobe reserves the 
right to monitor any electronic communication sent or received by its employees, agents 
or representatives.



More information about the gdal-dev mailing list