PostGIS Development Blog http://postgis.net/ 2015-08-03T21:17:31+00:00 PieCrust 0.8.7 2.1.8 Released 2015-07-07T00:00:00+00:00 2015-07-07T00:00:00+00:00 http://postgis.net/2015/07/07/postgis-2.1.8 Paul Ramsey Paul Ramseyhttp://postgis.net <p>Due to a number of bugs capable of crashing a back-end, we have released 2.1.8. If you are running an earlier version on a public site, we recommend that you update as soon as possible.</p> <p><a href="http://download.osgeo.org/postgis/source/postgis-2.1.8.tar.gz">http://download.osgeo.org/postgis/source/postgis-2.1.8.tar.gz</a></p> <p>View all <a href="http://trac.osgeo.org/postgis/query?status=closed&amp;groupdesc=1&amp;group=priority&amp;milestone=PostGIS+2.1.8&amp;order=priority">closed tickets for 2.1.8</a>.</p> Enabling PostGIS raster drivers and out-of-db raster support 2015-05-02T00:00:00+00:00 2015-05-02T00:00:00+00:00 http://postgis.net/2015/05/02/tip_enable_raster_drivers Regina Obe Regina Obehttp://postgis.net <p>I&#8217;ve been asked this question in some shape or form at least 3 times, mostly from people puzzled why they get this error. The last iteration went something like this:</p> <p><em>I can&#8217;t use <code>ST_AsPNG</code> when doing something like</em></p> <pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> ST_AsPNG<span style="color: #66cc66;">&#40;</span>rast<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">FROM</span> sometable; &nbsp;</pre> <p>Gives error: Warning: pg_query(): Query failed: ERROR: rt&#95;raster&#95;to&#95;gdal: Could not load the output GDAL driver.</p> Continue Reading by clicking title hyperlink .. PostGIS 2.0.7 and 2.1.7 Released 2015-04-06T00:00:00+00:00 2015-04-06T00:00:00+00:00 http://postgis.net/2015/04/06/postgis-2.1.7 Paul Ramsey Paul Ramseyhttp://postgis.net <p>Due to a critical bug in GeoJSON ingestion we have made an early release of versions 2.0.7 and 2.1.7. If you are running an earlier version on a public site and accepting incoming GeoJSON, we recommend that you update as soon as possible.</p> <p><a href="http://download.osgeo.org/postgis/source/postgis-2.1.7.tar.gz">http://download.osgeo.org/postgis/source/postgis-2.1.7.tar.gz</a></p> <p><a href="http://download.osgeo.org/postgis/source/postgis-2.0.7.tar.gz">http://download.osgeo.org/postgis/source/postgis-2.0.7.tar.gz</a></p> <p>View all <a href="http://trac.osgeo.org/postgis/query?status=closed&amp;groupdesc=1&amp;group=priority&amp;milestone=PostGIS+2.0.7&amp;order=priority">closed tickets for 2.0.7</a>.</p> PostGIS 2.1.6 Released 2015-03-20T00:00:00+00:00 2015-03-20T00:00:00+00:00 http://postgis.net/2015/03/20/postgis-2.1.6 Paul Ramsey Paul Ramseyhttp://postgis.net <p>The 2.1.6 release of PostGIS is <a href="http://download.osgeo.org/postgis/source/postgis-2.1.6.tar.gz">now available</a>.</p> <p>The PostGIS development team is happy to release patch for PostGIS 2.1, the 2.1.6 release. As befits a patch release, the focus is on bugs, breakages, and performance issues. Users with large tables of points will want to priorize this patch, for substantial (~50%) disk space savings.</p> <p><a href="http://download.osgeo.org/postgis/source/postgis-2.1.6.tar.gz">http://download.osgeo.org/postgis/source/postgis-2.1.6.tar.gz</a></p> Continue Reading by clicking title hyperlink .. Foreign Data Wrappers for PostGIS 2014-12-19T00:00:00+00:00 2014-12-19T00:00:00+00:00 http://postgis.net/2014/12/19/postgis_fdw Paul Ramsey Paul Ramseyhttp://postgis.net <p>The last couple weeks have seen two interesting updates in the world of PostgreSQL &#8220;<a href="https://wiki.postgresql.org/wiki/Foreign_data_wrappers">foreign data wrappers</a>&#8221; (FDW). Foreign data wrappers allow you to access remote data inside your database, exactly like other tables. PostgreSQL ships with two example implementations, one for accessing text files, and the other for accessing remote PostgreSQL servers.</p> <p>The two updates of interest to PostGIS users are:</p> <ul> <li>The <a href="http://laurenz.github.io/oracle_fdw/">Oracle FDW</a> implementation was recently enhanced to support spatial columns, so an Oracle table with SDO_GEOMETRY columns can be exposed in PostgreSQL as a table with PostGIS geometry columns.</li> <li>A new <a href="https://github.com/pramsey/pgsql-ogr-fdw">OGR FDW</a> implementation <a href="http://boundlessgeo.com/2014/12/ogr-fdw-ftw/">was released</a> that supports exposing any OGR data source as a table with PostGIS geometry columns.</li> </ul> <p>Now you can access your PostGIS data without even going to the trouble of importing it first!</p> PostGIS 2.1.5 Released 2014-12-18T00:00:00+00:00 2014-12-18T00:00:00+00:00 http://postgis.net/2014/12/18/postgis-2.1.5 Paul Ramsey Paul Ramseyhttp://postgis.net <p>The 2.1.5 release of PostGIS is <a href="http://download.osgeo.org/postgis/source/postgis-2.1.5.tar.gz">now available</a>.</p> <p>The PostGIS development team is happy to release patch for PostGIS 2.1, the 2.1.5 release. As befits a patch release, the focus is on bugs, breakages, and performance issues</p> <p><a href="http://download.osgeo.org/postgis/source/postgis-2.1.5.tar.gz">http://download.osgeo.org/postgis/source/postgis-2.1.5.tar.gz</a></p> Continue Reading by clicking title hyperlink .. Getting distinct pixel values and pixel value counts of a raster 2014-09-26T00:00:00+00:00 2014-09-26T00:00:00+00:00 http://postgis.net/2014/09/26/tip_count_of_pixel_values Regina Obe Regina Obehttp://postgis.net <p>PostGIS raster has so so many functions and probably at least 10 ways of doing something some much much slower than others. Suppose you have a raster, or you have a raster area of interest &#8212; say elevation raster for example, and you want to know the distinct pixel values in the area. The temptation is to reach for <a href="/docs/manual-dev/RT_ST_Value.html" target="_blank"><code>ST_Value</code></a> function in raster, but there is a much much more efficient function to use, and that is the <a href="/docs/manual-dev/RT_ST_ValueCount.html" target="_blank"><code>ST_ValueCount</code></a> function.</p> <p><code>ST_ValueCount</code> function is one of many statistical raster functions available with PostGIS 2.0+. It is a set returning function that returns 2 values for each row: a pixel value (value), and a count of pixels (count) in the raster that have that value. It also has variants that allow you to filter for certain pixel values. </p> <p>This tip was prompted by the question on stackexchange <a href="http://gis.stackexchange.com/questions/115161/how-can-i-extract-all-distinct-values-from-a-postgis-raster/115245" target="_blank">How can I extract all distinct values from a PostGIS Raster?</a></p> Continue Reading by clicking title hyperlink .. PostGIS 2.1.4 Released 2014-09-10T00:00:00+00:00 2014-09-10T00:00:00+00:00 http://postgis.net/2014/09/10/postgis-2.1.4 Regina Obe Regina Obehttp://postgis.net <p>The 2.1.4 release of PostGIS is <a href="http://download.osgeo.org/postgis/source/postgis-2.1.4.tar.gz">now available</a>.</p> <p>The PostGIS development team is happy to release patch for PostGIS 2.1, the 2.1.4 release. As befits a patch release, the focus is on bugs, breakages, and performance issues</p> <p><a href="http://download.osgeo.org/postgis/source/postgis-2.1.4.tar.gz">http://download.osgeo.org/postgis/source/postgis-2.1.4.tar.gz</a></p> Continue Reading by clicking title hyperlink .. Security releases 2.0.6 and 2.1.3 2014-05-19T00:00:00+00:00 2014-05-19T00:00:00+00:00 http://postgis.net/2014/05/19/postgis-2.0.6_and_2.1.3 Sandro Santilli Sandro Santillihttp://postgis.net <p>It has come to our attention that the PostGIS Raster support may give more privileges to users than an administrator is willing to grant. These include reading files from the filesystem and opening connections to network hosts.</p> Continue Reading by clicking title hyperlink .. PostGIS 2.0.5 Released 2014-03-31T00:00:00+00:00 2014-03-31T00:00:00+00:00 http://postgis.net/2014/03/31/postgis-2-0-5 Paul Ramsey Paul Ramseyhttp://postgis.net <p>The 2.0.5 release of PostGIS is <a href="http://download.osgeo.org/postgis/source/postgis-2.0.5.tar.gz">now available</a>.</p> <p>The PostGIS development team is happy to release patch for PostGIS 2.0, the 2.0.5 release. As befits a patch release, the focus is on bugs and breakages.</p> <p>Best served with a bottle of GEOS 3.3.9.</p> <p><a href="http://download.osgeo.org/postgis/source/postgis-2.0.5.tar.gz">http://download.osgeo.org/postgis/source/postgis-2.0.5.tar.gz</a></p> <p>Doc downloads: <a href="http://download.osgeo.org/postgis/docs/doc-html-2.0.5.tar.gz">html doc download</a> <a href="http://download.osgeo.org/postgis/docs/postgis-2.0.5.pdf">pdf doc download</a></p> Continue Reading by clicking title hyperlink ..