Opened 18 years ago

Closed 9 years ago

Last modified 9 years ago

#1047 closed enhancement (fixed)

ogr2ogr more GML 3.1 compatible

Reported by: jorn@… Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SRS Version: unspecified
Severity: minor Keywords:
Cc: chaitanya

Description (last modified by warmerdam)

GML 3.1 is not using gml:coordinates anymore (deprecated)
Instead is this used:
<gml:pos>17.0 69.0</gml:pos>
Unfortunately isn't this supported by ogr2ogr.

Attachments (1)

AISFeature-gml3.xml (2.2 KB ) - added by jorn@… 18 years ago.
GML instance according to v 3.1, verified by XMLSpy

Download all attachments as: .zip

Change History (6)

by jorn@…, 18 years ago

Attachment: AISFeature-gml3.xml added

GML instance according to v 3.1, verified by XMLSpy

comment:1 by jorn@…, 18 years ago

The XSD is based on GML 2.1.1 work done by Gudmundur Jøkulsson, Norut IT (www.
itek.norut.no). Please do not distribute.

comment:2 by warmerdam, 13 years ago

Cc: chaitanya added
Description: modified (diff)
Priority: highnormal

Chaitanya,

Do you know if these changes have already been incorporated by other means?

comment:3 by chaitanya, 13 years ago

I tried this with and without the XSD file.

With the XSD file, many elements are ignored, including the ais:trackProperty elements which contain the geometry. An element is ignored when the element is defined in XSD file using a ref="smtg:something" attribute instead of a name="something" attribute.

Without the XSD file, all the ignored data is retrieved, albeit as StringList.

I recommend reading the track elements as MultiPoint.

comment:4 by Even Rouault, 9 years ago

Resolution: fixed
Status: newclosed

The GML driver is GML 3.1 compatibly, but for complex features like that one, there are probably still rough edges. Closing that one as complex features issues are a different topic

comment:5 by warmerdam, 9 years ago

ais3-1.xsd attachment removed over copyright concerns.

Note: See TracTickets for help on using tickets.