[postgis-users] [postgis-devel] 3D distance functions

Paragon Corporation lr at pcorp.us
Tue Dec 28 14:42:05 PST 2010


Nicklas,

This sounds exciting.
I think Oracle has 3D distance support.  We don't have Oracle installed at
the moment, but perhaps someone with Oracle can do a test compare or we can
reinstall later on.

We'll try to release another set of windows binaries with your new changes
sometime later this week.

I think a wiki page would be a great idea.  Keep up the good work!

Thanks,
Regina and Leo
http://www.postgis.us


 

-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of Nicklas
Avén
Sent: Tuesday, December 28, 2010 5:29 PM
To: PostGIS Development Discussion
Subject: [postgis-devel] 3D distance functions

Hallo all

I just committed the rest of the 3D distance functions.
There is no regression tests or unit tests yet.

There is probably a bunch of bugs, but I commit anyway and hope more people
might punch on it.

There is a lot of possibilities to consider. The functions are supposed to
handle holes in polygons too, so there can be one polygon passing through a
hole of another for instance. It should work, but I have actually not tried
it yet.

One idea I have to make a test suite is to just tilt the geometries from a
2D dataset with st_affine, but it will still be difficult to get answers we
know is right. Or is there som other software that we easily can use to
check against?

Some functions that might be of interest for other things than distance
calculations is:

define_plane, which defines the plane of a polygon in 3D. How that is done
might be a topic for discussion.

pt_in_ring_3d, checks is a point on the same plane as the polygon is inside
or outside the polygon.

project_point_on_plane, gives the point from where the original point is
perpendicular to the plane


Is it a good idea to make a wiki page, describing how things works, and what
situations I have tried to cover up? 


About make astyle I couldn't run it. I had the message:
./astyle.sh
Only 1.23 astyle version is 'allowed'

and I have version 1.24


Regards
Nicklas



_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel





More information about the postgis-users mailing list