[postgis-users] importing pointZ polygonZ shapes

Frank Warmerdam warmerdam at pobox.com
Fri Apr 10 11:07:05 PDT 2009


francesco wrote:
> Hello all,
> 
> I have looked all evening on internet for importing PointZ and polygonZ 
> shapefiles as 3D postgis objects... is it possible? Or just a dream (or 
> nightmare depends on point of view).

Francesco,

If shp2pgsql does not support this, then it can be done with ogr2ogr.  It
*ought* to be as easy as:

   ogr2ogr -update PG:dbname=...  pointz.shp pointz

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the postgis-users mailing list