[postgis-users] enforce_dims_geom error (JDBC)

Just van den Broecke just at justobjects.nl
Thu Oct 5 00:22:41 PDT 2006


Yes! Thanks Brent and Barend, that was the issue. Now it works. best,

Just

Barend Köbben wrote:

> That is I think because the Dimension in this case is not the "mathematical
> dimension" where point = 0, line = 1, area =2, but it rather is the
> dimension of the cooridnates use, ie, 2= x&y, 3 = X&y&z, 4=X&y&z&T(ime)
> 
> Bye,
> 
> __ 
> Barend Köbben
> International Institute for Geo-information
> Sciences and Earth Observation (ITC)
> PO Box 6, 7500AA Enschede (The Netherlands)
> ph: +31 (0)53 4874253; fax: +31 (0)53 4874335
> 
> 
> 
> On 05-10-2006 07:43, "Brent Wood" <pcreso at pcreso.com> wrote:
> 
> 
>>
>>--- Just van den Broecke <just at justobjects.nl> wrote:
>>
>>
>>>Hi,
>>>
>>>I have a problem using INSERT of POINTs in a geometry column defined by
>>>AddGeometryColumn() with dimension 0.
>>
>>
>>Try setting your dimension value for your points column to 2. (I have no idea
>>why, but it works for me...)
>>
>>Brent Wood 
>>
>>
>>_______________________________________________
>>postgis-users mailing list
>>postgis-users at postgis.refractions.net
>>http://postgis.refractions.net/mailman/listinfo/postgis-users
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 
> 
> 


-- 

--Just

Just van den Broecke  just at justobjects.nl
Just Objects B.V.     tel +31 65 4268627 Skype: justb4
The Netherlands       http://www.justobjects.nl








More information about the postgis-users mailing list