id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 18795 Failing GeoDjango tests Julien Phalip nobody "The failures seem minor. It looks like a formatting issue of the values returned. {{{ ====================================================================== FAIL: test_json (django.contrib.gis.geos.tests.test_geos.GEOSTest) Testing GeoJSON input/output (via GDAL). ---------------------------------------------------------------------- Traceback (most recent call last): File ""/home/vagrant/django/django/contrib/gis/geos/tests/test_geos.py"", line 207, in test_json self.assertEqual(g.json, geom.json) AssertionError: u'{ ""type"": ""Point"", ""coordinates"": [ 100.000000, 0.000000 ] }' != '{ ""type"": ""Point"", ""coordinates"": [ 100.0, 0.0 ] }' ====================================================================== FAIL: test05_geometries (django.contrib.gis.gdal.tests.test_ds.DataSourceTest) Testing Geometries from Data Source Features. ---------------------------------------------------------------------- Traceback (most recent call last): File ""/home/vagrant/django/django/contrib/gis/gdal/tests/test_ds.py"", line 184, in test05_geometries self.assertEqual(source.srs_wkt, g.srs.wkt) AssertionError: 'GEOGCS[""GCS_WGS_1984"",DATUM[""WGS_1984"",SPHEROID[""WGS_1984"",6378137,298.257223563]],PRIMEM[""Greenwich"",0],UNIT[""Degree"",0.017453292519943295]]' != 'GEOGCS[""GCS_WGS_1984"",DATUM[""WGS_1984"",SPHEROID[""WGS_84"",6378137,298.257223563]],PRIMEM[""Greenwich"",0],UNIT[""Degree"",0.017453292519943295]]' ====================================================================== FAIL: test01e_json (django.contrib.gis.gdal.tests.test_geom.OGRGeomTest) Testing GeoJSON input/output. ---------------------------------------------------------------------- Traceback (most recent call last): File ""/home/vagrant/django/django/contrib/gis/gdal/tests/test_geom.py"", line 114, in test01e_json self.assertEqual(g.json, geom.json) AssertionError: u'{ ""type"": ""Point"", ""coordinates"": [ 100.000000, 0.000000 ] }' != '{ ""type"": ""Point"", ""coordinates"": [ 100.0, 0.0 ] }' }}}" Bug closed GIS 1.4 Normal fixed Accepted 0 0 0 0 0 0