Opened 15 years ago

Closed 15 years ago

#276 closed defect (fixed)

ST_AsGML - GML not compliant

Reported by: colivier Owned by: colivier
Priority: medium Milestone: PostGIS 1.4.1
Component: postgis Version: 1.4.X
Keywords: Cc:

Description

Following problem are:

  • Attribute dimension is not present in gml:pos and gml:posList (GML 3.1.1)

Valid example below (GML 2.1.2 and 3.1.1)

<gml:MultiGeometry xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:4326">
	<gml:geometryMember><gml:Point><gml:coordinates>1,2</gml:coordinates></gml:Point></gml:geometryMember>
	<gml:geometryMember>
		<gml:MultiPoint srsName="EPSG:4326">
			<gml:pointMember><gml:Point><gml:coordinates>3,4</gml:coordinates></gml:Point></gml:pointMember>
			<gml:pointMember><gml:Point><gml:coordinates>5,6</gml:coordinates></gml:Point></gml:pointMember>
		</gml:MultiPoint>
	</gml:geometryMember>
</gml:MultiGeometry>

Change History (3)

comment:1 by colivier, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in 1.4 branch as r4695, and in trunk as r4696

comment:2 by colivier, 15 years ago

Resolution: fixed
Status: closedreopened

In fact the attribute name in gml:pos or gmlposList is not dimension (GML 3.0.0) but srsDimension (GML 3.1.1)

comment:3 by colivier, 15 years ago

Resolution: fixed
Status: reopenedclosed

srsDimension fixed in 1.4 branch (r4703) and trunk (r4704)

Note: See TracTickets for help on using tickets.