[postgis-users] ERROR: Geometry has Z dimension but column does not

Sandro Santilli strk at keybit.net
Thu Apr 5 11:15:03 PDT 2012


On Thu, Apr 05, 2012 at 01:53:59PM -0400, Gold, Jack L  (US SSA) wrote:
> My apologies, I sent the previous post in a hurry.  Below is the query I am using to insert a geography from text.  I still receive the error indicated.  I am, in fact, looking to insert a geography with a Z value.  
> 
> CREATE TABLE myTable(location geography(PointZ,4326));
> 
> INSERT INTO myTable (location) VALUES (st_geographyFromText('SRID=4326;PointZ(85 35 500)'));
> 
> ERROR:  Geometry has Z dimension but column does not

Works for me. What's the result of : SELECT Postgis_full_version() ?

--strk; 

  ,------o-. 
  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net - http://vizzuality.com
  `-o------'




More information about the postgis-users mailing list