[gdal-dev] ogr2ogr PGDUMP not using typmod?

Stefano Iacovella stefano.iacovella at gmail.com
Sat Nov 30 09:52:59 PST 2013


2013/11/30 Even Rouault <even.rouault at mines-paris.org>

> You don't need to do any SQL rewriting, nor the PGDump driver needs
> changes.
> In PostGIS 2.0, according to
> http://postgis.refractions.net/docs/AddGeometryColumn.html,
> AddGeometryColumn() will by default create a typmod geometry colum
> I've verified it by issuing a "\d mytable" on a table created with PGDump.
>

Thanks Even.
Nice to know, Indeed also shp2pgsql utility uses the AddGeometryColumn and
after reading the docs it makes sense.

Stefano

---------------------------------------------------
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20131130/f5b571a0/attachment.html>


More information about the gdal-dev mailing list