What version of GML supported by GlobalMapper 13??

Hi Guys,
I was just wondering which version of GML is supported by GlobalMapper, i tried every GML files from OpenLayers examples, seems that all works fine, so i guess it should support GML 2, but then i tried creating a GML file using NTS, we know it follows the GML 2.1.1, but unluky. Can anybody tell what's wrong with me?
Thanks,
Johnny
I was just wondering which version of GML is supported by GlobalMapper, i tried every GML files from OpenLayers examples, seems that all works fine, so i guess it should support GML 2, but then i tried creating a GML file using NTS, we know it follows the GML 2.1.1, but unluky. Can anybody tell what's wrong with me?
Thanks,
Johnny
Comments
If you can provide a sample that doesn't work I can see why and likely add support. Support has been added from sample data and not to a particular version of GML. We plan to support all versions as they are used.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com
Geometry geometry2 = (Geometry)new WKTReader().Read("LINESTRING (-157.7392046 21.3969819, -157.7389669 21.3965825, -157.738863 21.3964225, -157.7389669 21.3965825, -157.738863 21.3964225, -157.7387323 21.3963027, -157.7381335 21.396043)");
GMLWriter gmlWriter = new GMLWriter();
MemoryStream ms = new MemoryStream();
gmlWriter.Write(geometry2, ms);
string gml = System.Text.Encoding.Default.GetString(ms.ToArray());
Hope it helped.
Thanks,
Johnny
I don't have NTS or GeoAPI, can you just provide a GML file that doesn't work?
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com
Thanks,
Johnny
There aren't any features in that GML file, just a description of a polygon bounds, but not as part of anything. Typically that would be inside a <gml:featureMember> tag to mark it as part of a feature geometry.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com
Johnny
Unfortunately, I can't upload the sample, because your upload tool says "invalid file": it's valid XML, and I can load it with a few other tools (FME Universal Viewer, Quantum GIS Desktop, Snowflake Viewer).
So I've uploaded a cut down file (that exhibits the same behaviour), and it's associated .xsd, to Google docs:
https://docs.google.com/open?id=0Bz6E6ENW7BaTQjctakl5M0pfSEE
https://docs.google.com/open?id=0Bz6E6ENW7BaTZFRlblVYeXRvbWM
I'd be interested to know what makes it hard for you to open (& even upload)
Peter
I'll let Mike field the actual issue but as far as the forum is concerned, XML is now an enabled attachment and you can attach it to posts. Sorry about that.
Paul
I took a look at the GML file at the OSGB just changed (for about the 10th time) what tags they use for their data set. I've updated GM to support that and it loads fine now. I have placed a new build at http://www.globalmapper.com/global_mapper13.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v13.xx installation folder to give it a try. If you are using the 64-bit v13 version there is a new build at http://www.globalmapper.com/global_mapper13_64bit.zip .
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com
I would have hoped you weren't treating GML by looking for specific "tags".
I can confirm that Global Mapper 14 opens two different experimental GML 3.2 files that I now give it. One is a second beta of our VectorMap District, the other a trial new height (elevation) product, "inspired by" the draft INSPIRE specifications. The fact that the GML feature names are not accessible in the "Feature Information" window suggests to me that Global Mapper 14 has implemented a more generic solution - which is great.
Interesting that the properties of each feature are shown (as attributes) in the feature information window. It would be even nicer if the feature type appeared as the "name" in the feature information window.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com
There has been quite a lot going on across Europe to standardise that, under the INSPIRE initiative. Over the next few years, you can expect a lot of geographic data from public authorities in Europe to start appearing in GML3.2, with 'tags' / feature types / semantic models all conforming to the models & schemas that INSPIRE is publishing.
It settles on the kind of model where the tags are for 'real world' things, like "Road", "Building", rather than geometry-lead classifications like we have had in OS MasterMap. Of course, that means there are a lot of different INSPIRE feature types.
Worth a look - but there's a lot of it!
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com