[postgis-users] Unsupported GML

Andrea Peri 2007 aperi2007 at gmail.com
Thu Mar 25 13:59:36 PDT 2010


Hi,

I'm try-ing to insert on postgis 1.5.1 a geometry using ST_GeomFromGML.

The fragment I'm using is this:

<gml:TopoCurve>
    <gml:directedEdge>
        <gml:Edge>
            <gml:directedNode>
                <gml:Node gml:id="aaa1" />
            </gml:directedNode>
            <gml:directedNode>
                <gml:Node gml:id="bbb1" />
            </gml:directedNode>
            <gml:curveProperty>
                            <gml:LineString>
                                <gml:posList>10 10 20 20 30 30</gml:posList>
                            </gml:LineString>
            </gml:curveProperty>
        </gml:Edge>
    </gml:directedEdge>
</gml:TopoCurve>

But the postgis report this error:
 > ERROR: invalid GML representation

I don't understand if the error is because this is an unsupported 
fragment or the fragment is bad defined.
(It seem ok for the GML 3.1.1 definitions).

So there is some info about the supported tags ?

Many thx,

Andrea Peri




More information about the postgis-users mailing list