[osgeo4w-dev] [osgeo4w] #728: Add PDAL python bindings

OSGeo4W trac_osgeo4w at osgeo.org
Tue Feb 15 23:22:05 PST 2022


#728: Add PDAL python bindings
------------------------+----------------------------
Reporter:  nicogodet    |       Owner:  osgeo4w-dev@…
    Type:  enhancement  |      Status:  reopened
Priority:  major        |   Component:  Package
 Version:               |  Resolution:
Keywords:               |
------------------------+----------------------------
Changes (by nicogodet):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 When I try to import pdal, I have this error:

 {{{
 >>> import pdal
 Traceback (most recent call last):
   File "C:\OSGeo4W\apps\Python39\lib\code.py", line 90, in runcode
     exec(code, self.locals)
   File "<input>", line 1, in <module>
   File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
   File "C:\OSGeo4W\apps\Python39\lib\site-packages\pdal\__init__.py", line
 8, in <module>
     inject_pdal_drivers()
   File "C:\OSGeo4W\apps\Python39\lib\site-packages\pdal\drivers.py", line
 62, in inject_pdal_drivers
     drivers = json.loads(
   File "C:\OSGeo4W\apps\Python39\lib\json\__init__.py", line 346, in loads
     return _default_decoder.decode(s)
   File "C:\OSGeo4W\apps\Python39\lib\json\decoder.py", line 337, in decode
     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
   File "C:\OSGeo4W\apps\Python39\lib\json\decoder.py", line 355, in
 raw_decode
     raise JSONDecodeError("Expecting value", s, err.value) from None
 json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/728#comment:2>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list