Opened 12 years ago
Last modified 12 years ago
#20260 closed Uncategorized
Geodjango - ogrinspect on spatialite deprecation warning and unknown field type — at Initial Version
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | GIS | Version: | 1.5 |
Severity: | Normal | Keywords: | geodjango, spatialite, ogrinspect |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I run ogrinspect on spatialite 4.0 where TM_WORLD_BORDERS-0.3.shp was loaded. I got two errors.
This is the traceback:
c:\mygeosite\geodjango>python manage.py ogrinspect c:/mygeosite/sqlite3/ezmappin
g.sqlite test --srid=4326 --mapping --multi
C:\python27\lib\site-packages\django\contrib\localflavor\init__.py:2: Deprecat
ionWarning: django.contrib.localflavor is deprecated. Use the separate django-lo
calflavor-* packages instead.
warnings.warn("django.contrib.localflavor is deprecated. Use the separate djan
go-localflavor-* packages instead.", DeprecationWarning)
TypeError: Unknown field type <class 'django.contrib.gis.gdal.field.OFTBinary'>
in search_frame