[mapserver-users] OGR doesn't grok GML3?

Burgholzer,Robert rwburgholzer at deq.virginia.gov
Tue Jun 10 11:35:00 EDT 2008

This is excellent news! Thanks!  I will let you know how it goes for me. 

I am cc'ing the Mapserver listserv so as to keep a record of this online, and to see if others find it useful.


-----Original Message-----
From:	Yewondwossen Assefa [mailto:yassefa at dmsolutions.ca]
Sent:	Tue 6/10/2008 10:22 AM
To:	Frank Warmerdam; Burgholzer,Robert
Subject:	Re: [mapserver-users] OGR doesn't grok GML3?

Hi There,

  Just few comments in case this might help:

  There is a patch submitted in  http://trac.osgeo.org/gdal/ticket/2311 
that could help in this case.  The patch was intended for the reading of 
gml3 profile 1.
  Couple of  issues I had when proposing the  patch is that the support 
for  things like gml:posList are limited. According to the specs for 
gml3.1/level 1 gml:posList does not have any attribute but for gml3.1, 
it could have attributes such as a dimension (<gml:posList 
srsDimension="3">.  The patch assumes a 2 dimension geometry.
  It is also my understanding  that currently the ogr gml parser strips 
out any attribute information from the gml file, and things like 
"srsDimension" are not available in gml2ogrgeometry.cpp.  I think any 
upgrade to the reader would have to address this.

Note that using this patch and modifying it a bit to assume a 3d 
geometries for posList elements, I was able to read polygon/line/points 
coming out of the wfs server (http://frameworkwfs.usgs.gov/) and display 
it in Mapserver.

Hope this helps.

Best Regards,

Frank Warmerdam wrote:
> Burgholzer,Robert wrote:
>> Frank,
>> Where would I start to look (i.e., which package) if I were wishing to
>> help along on the development of this?  
> Robert,
> The bulk of my work on GML3 support for the NAS driver was implementing
> alternate GML geometry reading.  Possibly as an extension in the
> gdal/ogr/gml2ogrgeometry.cpp file.
> Best regards,

Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080610/d7aa5d68/attachment.html

More information about the mapserver-users mailing list