some problem on the source code(gml reader)

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Tue Nov 15 06:12:53 EST 2005


Hi,

it does use Xerces, but it is not part of Mapserver but of the GDAL/OGR library.

So you should check the GDAL/OGR sourcecode.

http://www.gdal.org 

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Taka Wong <taka_www at SINAMAN.COM> 15-11-2005 11:54 >>>
Hi,

I would like to add some functions on the gml reader. Besides, I have found
some problem on reading gml2 where including chinese attribute, I then get
to modify the codes.

I have traced the flow of the function which starting from
OGRGMLDataSource::Open
Unfortunately, I got lost in gmlreader.cpp.

As I know, ogr would load the gml file and check the existance of gfs file.
if yes, ogr would read the gfs file, otherwise it would create one. Since
not all information is stored in the created gfs file, like the "value"
inside "<attribute1>value</attribute1>". I think it is not enough for ogr
reading gfs instead of gml. I guess ogr would read the gml again, but I
can't find the code about reloading the gml file.

Can anybody tell me where does the action of reading gml? Does it using
Xerces? since I can only find the parsing function for xsd file, but not
gml.

Thank you very much

Regards,
Taka



More information about the mapserver-users mailing list