Re: [postgis-users] PL/Python

2016-05-23 Thread David Haynes
te: >> >>> I think the gdal.getDriver call returns None. Hence the attribute error >>> on the line afterwards. Are you sure that 19 is what you should pass as >>> input? >>> >>> Martijn >>> >>> Verzonden vanaf mobiel. &

Re: [postgis-users] PL/Python

2016-05-21 Thread RĂ©mi Cura
; input? >> >> Martijn >> >> Verzonden vanaf mobiel. >> >> >> Oorspronkelijk bericht >> Van: David Haynes >> Datum:18-05-2016 17:35 (GMT+01:00) >> Aan: postgis-users@lists.osgeo.org >> Onderwerp: [postgis-users] PL/Python >>

Re: [postgis-users] PL/Python

2016-05-18 Thread Martijn Meijers
(GMT+01:00) Aan: postgis-users@lists.osgeo.org Onderwerp: [postgis-users] PL/Python Hello, I have a question regarding importing the gdal library using pl/python. Specifically, I want to create an in memory raster using the gdal library. This is a snippet of code that I have written,

[postgis-users] PL/Python

2016-05-18 Thread David Haynes
Hello, I have a question regarding importing the gdal library using pl/python. Specifically, I want to create an in memory raster using the gdal library. This is a snippet of code that I have written, CREATE OR REPLACE FUNCTION terrapop_area_level_to_raster2( sample_geog_level_id bigint,