What version of GML supported by GlobalMapper 13??

johnneyjohnney Global Mapper UserPosts: 4
edited May 2015 in Technical Support
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

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited July 2012
    Johnny,

    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
  • johnneyjohnney Global Mapper User Posts: 4
    edited July 2012
    Thank you very much for the reply, here is code that i tried to create GML, it requires the latest version of NTS and GeoAPI.

    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

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited July 2012
    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
  • johnneyjohnney Global Mapper User Posts: 4
    edited July 2012
    Please check the attachment.

    Thanks,
    Johnny
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited July 2012
    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
  • johnneyjohnney Global Mapper User Posts: 4
    edited July 2012
    Thanks, Mike. I'll check the document again.

    Johnny
  • Peter ParslowPeter Parslow Global Mapper User Posts: 4
    edited August 2012
    Hope you don't mind me piggy backing, but this was exactly my question. We've created the attached, which is based on one of the draft (soon to be published) INSPIRE specifications, and I'm looking for tools able to open it. GlobalMapper 13.2 says "No data could be loaded from the file SX98.gml".

    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
  • PaulTocknellPaulTocknell Forum Administrator Posts: 306Unconfirmed
    edited August 2012
    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
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited August 2012
    Peter/Paul/Ringo/etc.,

    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
  • Peter ParslowPeter Parslow Global Mapper User Posts: 4
    edited September 2012
    An interesting response; it can hardly be true that we (OSGB) "just changed ... what tags they use for their data set" - I did point out that this is a completely different product from anything we've made in GML before. We could hardly use the same "tags" for a file full of spot heights & contours as we do for say ITN.

    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.
  • Peter ParslowPeter Parslow Global Mapper User Posts: 4
    edited September 2012
    Perhaps not the "name" - but I'm only now learning about Global Mapper's approach to feature types, and I can see that it may be a tall order to map an unknown set of incoming GML feature types to a pre-defined set of Global Mapper feature types.
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited September 2012
    The GML import was a bit picky in terms of the top-level tags that indicate what a feature actually was so GM could now how to put all of the geometry and attributes into individual features. I have updated it to be generic now since each type of data set seems to use different top-level tag names. I had expected the same tags and then maybe some attributes of those to identify types of data just to make developers jobs easier. It seems most standards aren't written with a developer that has to write software to read the data anywhere in the room :)

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • Peter ParslowPeter Parslow Global Mapper User Posts: 4
    edited September 2012
    GML isn't really a standard in that sense, it's a markup language - an XML grammar for expressing geography. It does have some strong design principles, but leaves the semantics & decisions about what are the features of interest to particular domains.

    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!
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited September 2012
    That is definitely something we will look at once the standards settle down a bit. Hopefully a lot of people start using the same thing rather than a proliferation of different profiles!

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • suecesuece Global Mapper User Posts: 1
    edited May 2015
    Ortak Sağlık ve Güvenlik Birimi İlk yardım ve acil müdahale için, işyerlerinde kaza, yangın, doğal afetler gibi acil müdahale gerektiren durumlar için acil durum planlarının hazırlanmasını, ilkyardım ve acil müdahale bakımından yapılması gerekenleri, uygulamaları organize eder, yürütür ve ilgili diğer birim, kurum ve kuruluşlarla işbirliği yapar.
Sign In or Register to comment.