[Gvsig_english] oracle spatial wrong interpretation ofrectangles (at least 3d)
Juan Lucas Dominguez Rubio
jldominguez at prodevelop.es
Tue Jan 19 13:31:02 CET 2010
Hello.
Yes, according to the Oracle Spatial documentation, that's the semantics of the 3D rectangle: a cuboid defined by two opposite vertices and the heights being those of two opposite sides. It was not my invention!
Since gvSIG 1.9 does not deal with truly 3D objects, I think I'll do what Giovanni suggests (discarding the Z in this case).
As for gvSIG 2.0, I think I'll have to look into it a bit further.
Regards,
Juan Lucas Domínguez Rubio
---
Prodevelop SL, Valencia (España)
Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
http://www.prodevelop.es <http://www.prodevelop.es/>
---
________________________________
De: gvsig_internacional-bounces at listserv.gva.es en nombre de Benjamin Ducke
Enviado el: mar 19/01/2010 12:37
Para: Users and Developers mailing list
Asunto: Re: [Gvsig_english] oracle spatial wrong interpretation ofrectangles (at least 3d)
It makes sense to me: like you can define a 2D rectangle by giving
just the top-left and bottom-right extreme coordinate pairs (x1,y1)
and(x2,y2), you can define a cuboid perfectly well by giving the
two extreme 3D points (x1,y1,z1) and (x2,y2,z2).
Since the whole structure is by definition orthogonal
(all interior angles are 90 degrees), this information is enough
to construct the entire cube.
Ben
----- Original Message -----
From: "G. Allegri" <giohappy at gmail.com>
To: "Users and Developers mailing list" <gvsig_internacional at runas.cap.gva.es>
Sent: Tuesday, January 19, 2010 12:21:54 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: Re: [Gvsig_english] oracle spatial wrong interpretation ofrectangles (at least 3d)
I honestly think that the 3d rectangle (cuboid) structure in oracle is
erroneous. It is defined as (x1,y1,z1,x2,y2,z2), which lets the other
two vertices without a Z definition (and this lets the user decide
what assign them...), while it would have been consistent if it was
(x1,y1,y1,y2,z): this define completely a cuboid (with a fixed Z for
all the vertices).
So, I would avoid using them but they exist and may create problems
for viewers.
What to do? In a 2D canvas I would simply discard the Z, while in a 3D
env I would simply use the first one (subjective but argumentative).
This is just a workaround to not break the viewer, not a consistent
choice...
giovanni
_______________________________________________
Gvsig_internacional mailing list
Gvsig_internacional at listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info <http://iso26300.info/> for more information.
_______________________________________________
Gvsig_internacional mailing list
Gvsig_internacional at listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20100119/f9184a42/attachment.htm
More information about the Gvsig_internacional
mailing list