insert GML MultiCurve
nikoMay 25 2012 — edited Aug 3 2012Hi,
i'm loading data from GML 3.2 into SDO_GEOMETRY column using SDO_UTIL.FROM_GML311GEOMETRY on 11g. I managed to load a MultiSurface but for MultiCurve, i always get "java.lang.NullPointerException". I'm aware of the fact that 11g only supports GML 3.1.1, but MultiCurve conforms to the version (AFAIK). You can see the input below, i tried to omit attributes and namespaces, add a srsName, but with no success. Have anyone ever managed to load a MultiCurve? If so, can you please post your gml? Thanks.
niko
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:MultiCurve srsDimension="2" ns2:id="DUL.678970" xmlns:ns2="http://www.opengis.net/gml/3.2" xmlns:ns1="http://www.w3.org/1999/xlink">
<ns2:curveMember ns1:type="simple">
<ns2:LineString ns2:id="DUL.678970">
<ns2:posList uomLabels="" srsDimension="2" axisLabels="">
600821.91 1163833.03 600819.78 1163844.57 600811.23 1163858.7 600804.94 1163870.16
600799.72 1163890.66 600794.97 1163914.3 600790.14 1163939.77 600780.92 1163990.53
600768.48 1164042.37 600763.17 1164057.18 600755.0 1164081.2 600749.88 1164094.49
600744.44 1164106.43
</ns2:posList>
</ns2:LineString>
</ns2:curveMember>
</ns2:MultiCurve>