[postgis-users] PostGIS Day

Andreas Forø Tollefsen andreasft at gmail.com
Tue Nov 15 11:58:12 PST 2011


However, GDAL supports netCDF so maybe there is a way for raster2pgsql.py
to read these files?
http://www.gdal.org/frmt_netcdf.html

2011/11/15 Andreas Forø Tollefsen <andreasft at gmail.com>

> Hi,
>
> The netCDF is read using scipy.io.netcdf and each coordinate pair and
> "pixel" value is inserted into a table.
> Then the user can add a geometry column and update it according to
> coordinate pair.
> I would love to be able to read netcdf using the raster2pgsql.py, but i am
> not sure if that will be implemented though.
>
> Andreas
>
> 2011/11/15 Mateusz Łoskot <mateusz at loskot.net>
>
>> It looks like a custom structure, not PostGIS really.
>>
>> cur.execute("CREATE TABLE precipud19002008 (gid serial PRIMARY KEY not
>> null, year int, month int, lon decimal, lat decimal, prec decimal);")
>>
>> --
>> Mateusz Łoskot
>> Sent from my mobile (excuse me for not quoting or top-posting possible)
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20111115/4a597f58/attachment.html>


More information about the postgis-users mailing list