Commit 8a2d7d73 authored by Paul Ramsey's avatar Paul Ramsey

Add migration guide for upgraders


git-svn-id: http://svn.osgeo.org/postgis/trunk@7502 b70326c6-7e19-0410-871a-916f4a2858ee
parent a8fcf4ee
PostGIS 2.0 Migration Guide
===========================
PostGIS 2.0 introduces changes that may affect backward compatibility
for some applications. This document lists those changes.
geometry_columns
----------------
In PostGIS 2.0, the ``geometry_columns`` metadata has been changed from
a table to a view.
* For applications that manage ``geometry_columns``
using the standard AddGeometryColumn() and other methods, there should
be no change.
* Applications that have inserted directly into ``geometry_columns``
will need to either move to the standard functions, or change
their create table syntax to include type/srid/dimsionality
information.
For example, to specify a 3D feature in WGS84::
CREATE TABLE mytable (
id SERIAL PRIMARY KEY,
g Geometry(PointZ,4326)
);
* Applications reading metadata from ``geometry_columns`` should expect
that the geometry type strings will be mixed case and include the
dimensionality modifiers. For example: PointZM, MultiLineStringZ.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment