Hi all,
See [GEOT-5018] SDO handling of MultiPoint - jira.codehaus.org
| |
| | | | | |
| [GEOT-5018] SDO handling of MultiPoint - jira.codehaus.orgGeoTools only shows
the first point of an Oracle multi-point element with gtype=2005. For example:
For geometry: |
| |
| View on jira.codehaus.org | Preview by Yahoo |
| |
| |
Currently the SDO class only handles MultiPoints that have 1 triplet.
Example:
mdsys.SDO_GEOMETRY(2005, 90112, NULL, mdsys.SDO_ELEM_INFO_ARRAY(1, 1, 3),
mdsys.SDO_ORDINATE_ARRAY(258291.227, 470961.778, 258322.659, 470961.207,
258332.659, 470961.207))
I made a patch for Oracle SDO that handles:- Multi-points that have more than 1
triplet - so called oriented-points
These are points with a rotation, the rotation is given by an extra triplet
with interpretation=0. These triplets are skipped by the patch.
Examples:Multi-point with 2 triplets:mdsys.SDO_GEOMETRY(2005, 90112, NULL,
mdsys.SDO_ELEM_INFO_ARRAY(1, 1, 1, 3, 1, 1),
mdsys.SDO_ORDINATE_ARRAY(258291.227, 470961.778, 258322.659, 470961.207))
Multi-point with 4 triplets, 2 triplets are used for
rotation:mdsys.SDO_GEOMETRY(2005, 90112, NULL, mdsys.SDO_ELEM_INFO_ARRAY(1, 1,
1, 3, 1, 0, 5, 1, 1, 7, 1, 0), mdsys.SDO_ORDINATE_ARRAY(258291.227, 470961.778,
258291.227, 470971.778, 258322.659, 470961.207, 258322.659, 470971.207))
Can anybody review the patch and apply it?
Thanks.
Ron Lindhoudt
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel