[gdal-dev] [ogr2ogr] Date mapping
Andrew T. Louis
alouis at galdosinc.com
Thu Jan 17 12:10:23 EST 2008
Hi all,
I have a shape file containing a "Date" format property. When using the
ogr2ogr tool, to convert this shape file to GML, the date property
doesn't get generated in the GML schema. But the GML file containing the
instances has the right values
Instance
<ogr:IS_CUSTODI>Y</ogr:IS_CUSTODI>
<ogr:REASON_FOR>1</ogr:REASON_FOR>
<ogr:DATE_OF_CH>2007/09/22</ogr:DATE_OF_CH>
<ogr:GMLID>ADA012_1</ogr:GMLID>
Schema
<xs:element name="IS_CUSTODI" nillable="true" minOccurs="0"
maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="REASON_FOR" nillable="true" minOccurs="0"
maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="254"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="GMLID" nillable="true" minOccurs="0"
maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
Anyone else has this issue?
Thanks
Andrew Louis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080117/c8ffe2ed/attachment.html
More information about the gdal-dev
mailing list