Fails: TestOGRShapeStore.test_shapes_in_region
Silke Reimer
Silke.Reimer at intevation.de
Wed Dec 8 18:40:45 CET 2004
On Wed, Dec 08, 2004 at 06:15:18PM +0100, Bernhard Reiter wrote:
> On Tue, Dec 07, 2004 at 05:44:53PM +0100, cvs at intevation.de wrote:
> > Author: nhueffme
> > test_OGRShapestore.py
>
> One test fails here.
> No further analysis done, maybe this has to do with the version
> of pythonogr installed?
> I have installed Debian's: python-gdal 1.2.1-1
> That is also the freshest that Debian has. ;)
It seems thate CloseRings is an ogr-method which is available in
version 1.2.5 of ogr but not in version 1.2.1. I changed
ShapesInRegion slightly so that it does not depend on 'CloseRings'
anymore. The tests work now for me. Could you please check it as
well?
Silke
>
> ERROR: Extensions.ogr.test.test_OGRShapestore.TestOGRShapeStore.test_shapes_in_region
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/mobilehome/bernhard/hacking/thuban/root/thuban/test/../Extensions/ogr/test/test_OGRShapestore.py", line 77, in test_shapes_in_region
> self.assertEquals([s.ShapeID() for s in shapes],
> File "/mobilehome/bernhard/hacking/thuban/root/thuban/test/../Extensions/ogr/ogrshapes.py", line 181, in ShapesInRegion
> bboxpolygon.CloseRings()
> AttributeError: Geometry instance has no attribute 'CloseRings'
>
> _______________________________________________
> Thuban-devel mailing list
> Thuban-devel at intevation.de
> https://intevation.de/mailman/listinfo/thuban-devel
--
Intevation GmbH
Georgstrasse 4 49074 Osnabrück, Germany
http://intevation.de http://intevation.de/~silke
FreeGIS.org http://freegis.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20041208/bbe98358/attachment.bin
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)