File: FAQ.rst

package info (click to toggle)
fiona 1.10.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,632 kB
  • sloc: python: 12,616; makefile: 214; sh: 45
file content (7 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
Frequently asked questions and answers
======================================

What does "ValueError: Invalid field type <class 'cx_Oracle.LOB'>" mean?
------------------------------------------------------------------------

Fiona maps the built-in Python types to `field types of the OGR API <https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogr_core.h#L594-L611>`__ (``float`` to ``OFTReal``, etc.). Users may need to convert instances of other classes (like ``cx_Oracle.LOB``) to strings or bytes when writing data to new GIS datasets using fiona.