#9557 closed (fixed)
no error message when using old GDAL and trying to get GEOJSON
Reported by: | enj | Owned by: | jbronn |
---|---|---|---|
Component: | GIS | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I was trying to get GEOJSON from a GEOSGeometry object with an old version of GDAL (1.3.2)
I did the following:
from django.contrib.gis.geos import *
poly = GEOSGeometry('POLYGON (( 10 10, 10 20, 20 20, 20 15, 10 10))')
poly.json
and got nothing back. doing the gdal.HAS_GDAL test returned True
looking at the code it seems it should have returned an error that my GDAL version was too old, but I got nothing.
Change History (3)
comment:1 by , 16 years ago
milestone: | → 1.1 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [10131]) Refactored the GEOS interface. Improvements include:
prepared
property. Prepared geometries significantly speed up certain operations.MultiPolygon.cascaded_union
property.merged
property onLineString
, andMultiLineString
geometries. Thanks, Paul Smith.WKTReader
,WKTWriter
,WKBReader
, andWKBWriter
(which supports 3D and SRID inclusion)geometries.py
.Fixed #9557, #9877, #10222