Ticket #276 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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)

- GeometryCollection? must have as children geometryMember

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

Changed 2 years ago by colivier

  • status changed from new to closed
  • resolution set to fixed

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

Changed 2 years ago by colivier

  • status changed from closed to reopened
  • resolution fixed deleted

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

Changed 2 years ago by colivier

  • status changed from reopened to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.