In PostGIS 2.0 I try:
select ST_GeomFromGML(
'<gml:Point srsName="urn:ogc:def:crs:EPSG::28992">
<gml:pos>275466.0 565559.0 0.0</gml:pos>
</gml:Point>');
This gives an error:
********** Error **********
ERROR: invalid GML representation
SQL state: XX000
Context: SQL function "st_geomfromgml" statement 1
What is wrong with my point?
EPSG:28992? Can you try using<gml:coordinates>275466.0, 565559.0, 0.0</gml:coordinates>instead of<gml:pos>...? – Geoist Jul 12 '12 at 0:03