[Qgis-developer] Mac nightlies updated

gene martin.laloux at gmail.com
Sat Jul 13 09:43:52 PDT 2013


Hello, I have a problem with this "new" version and the FileGDB (ESRI) plugin 
of the GDAL 1.10 framework  of William (Mac OS X Snow Leopard). I can write
a FileGDB folder but when I try to read it,  QGIS hangs.

Note that I have no problem with Python, both with ogr or Fiona (based on
ogr), even in the Python console of QGIS.

With a file geodatabase created with QGIS

*with ogr:*

    >>> import osgeo
    >>> osgeo.__version__
    '1.10.0'
    >>> osgeo.__file__
    
'/Library/Frameworks/GDAL.framework/Versions/1.10/Python/2.6/site-packages/osgeo/__init__.pyc'
   >>> from osgeo import ogr
   >>> source = ogr.Open('test.gdb')
   >>> layer = source.GetLayer()
   >>> for feature in layer:
     ...      geom =feature.GetGeometryRef()
     ...      print geom

MULTILINESTRING ((-1.254300117492676 0.223900079727173,-1.05430006980896
0.663000106811523,-0.69350004196167 0.628400087356567,-0.306600093841553
0.726200103759766,0.30649995803833 0.889100074768066))
...
*with Fiona*

     >>> import fiona
     >>> c = fiona.open("test.gdb")
      >>> c.next()
     {'geometry': {'type': 'MultiLineString', 'coordinates':
[[(-1.2543001174926758, 0.22390007972717285), (-1.05430006980896,
0.66300010681152344), (-0.69350004196166992, 0.62840008735656738),
(-0.30660009384155273, 0.72620010375976562), (0.30649995803833008,
0.88910007476806641)]]}, 'id': '1', 'properties': {u'id': None}}

This problem does not exist with the 1.9.x release of William




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Mac-nightlies-updated-tp5065920p5066236.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list