<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6619.12">
<TITLE>RE: [mapserver-users] OGR doesn't grok GML3?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>This is excellent news! Thanks!&nbsp; I will let you know how it goes for me.<BR>
<BR>
I am cc'ing the Mapserver listserv so as to keep a record of this online, and to see if others find it useful.<BR>
<BR>
r.b.<BR>
<BR>
<BR>
-----Original Message-----<BR>
From:&nbsp;&nbsp; Yewondwossen Assefa [<A HREF="mailto:yassefa@dmsolutions.ca">mailto:yassefa@dmsolutions.ca</A>]<BR>
Sent:&nbsp;&nbsp; Tue 6/10/2008 10:22 AM<BR>
To:&nbsp;&nbsp;&nbsp;&nbsp; Frank Warmerdam; Burgholzer,Robert<BR>
Cc:&nbsp;&nbsp;&nbsp;&nbsp;<BR>
Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Re: [mapserver-users] OGR doesn't grok GML3?<BR>
<BR>
Hi There,<BR>
<BR>
&nbsp; Just few comments in case this might help:<BR>
<BR>
&nbsp; There is a patch submitted in&nbsp; <A HREF="http://trac.osgeo.org/gdal/ticket/2311">http://trac.osgeo.org/gdal/ticket/2311</A><BR>
that could help in this case.&nbsp; The patch was intended for the reading of<BR>
gml3 profile 1.<BR>
&nbsp; Couple of&nbsp; issues I had when proposing the&nbsp; patch is that the support<BR>
for&nbsp; things like gml:posList are limited. According to the specs for<BR>
gml3.1/level 1 gml:posList does not have any attribute but for gml3.1,<BR>
it could have attributes such as a dimension (&lt;gml:posList<BR>
srsDimension=&quot;3&quot;&gt;.&nbsp; The patch assumes a 2 dimension geometry.<BR>
&nbsp; It is also my understanding&nbsp; that currently the ogr gml parser strips<BR>
out any attribute information from the gml file, and things like<BR>
&quot;srsDimension&quot; are not available in gml2ogrgeometry.cpp.&nbsp; I think any<BR>
upgrade to the reader would have to address this.<BR>
<BR>
Note that using this patch and modifying it a bit to assume a 3d<BR>
geometries for posList elements, I was able to read polygon/line/points<BR>
coming out of the wfs server (<A HREF="http://frameworkwfs.usgs.gov/">http://frameworkwfs.usgs.gov/</A>) and display<BR>
it in Mapserver.<BR>
<BR>
Hope this helps.<BR>
<BR>
Best Regards,<BR>
<BR>
<BR>
<BR>
Frank Warmerdam wrote:<BR>
&gt; Burgholzer,Robert wrote:<BR>
&gt;&gt; Frank,<BR>
&gt;&gt; Where would I start to look (i.e., which package) if I were wishing to<BR>
&gt;&gt; help along on the development of this?&nbsp;<BR>
&gt;<BR>
&gt; Robert,<BR>
&gt;<BR>
&gt; The bulk of my work on GML3 support for the NAS driver was implementing<BR>
&gt; alternate GML geometry reading.&nbsp; Possibly as an extension in the<BR>
&gt; gdal/ogr/gml2ogrgeometry.cpp file.<BR>
&gt;<BR>
&gt; Best regards,<BR>
<BR>
<BR>
--<BR>
----------------------------------------------------------------<BR>
Assefa Yewondwossen<BR>
Software Analyst<BR>
<BR>
Email: assefa@dmsolutions.ca<BR>
<A HREF="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</A><BR>
<BR>
Phone: (613) 565-5056 (ext 14)<BR>
Fax:&nbsp;&nbsp; (613) 565-0925<BR>
----------------------------------------------------------------<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>