Q&A - Question

GML

Question
Willem Schnitger asked on October 30, 2020, keyword: Developer Kernel

I have a XML file containing some GLM elements in a specific GML format ( NEN3610). It is not a GML "map" file but a interchange XML-file with som GML elements:

 <sikb:geolocatie sikb:id="6C696E6B-2D41-4941-5646-564253585951">
    <sikb:geometrie xsi:type="gml:SurfaceType" gml:id="AIAVFVBSXYQ" srsDimension="2" axisLabels="x y">
      <gml:patches>
        <gml:PolygonPatch>
          <gml:exterior>
            <gml:LinearRing>
              <gml:posList>90566 394134 90566 394192 90634 394192 90634 394134 90566 394134          </gml:posList>
            </gml:LinearRing>
          </gml:exterior>
        </gml:PolygonPatch>
      </gml:patches>
    </sikb:geometrie>
 

Hoe can I extract these elements to a tgis_vectorlayer ?  Do I explicitly need the appropriate XSD file describing the format?

 

Answers
Artur Redzko (TatukGIS) replied October 30, 2020
Hi
It is possible that the file format will not be recognized easily by the DK because most of the data are metadata outside the GML schema. But you can force the DK to use a specific layer by adding ?DK-GML postfix to the Path property of a layer in the project file. Then the gml parser will try to find anything related to gml features and create shapes, probably without metadata attributes.
If you would like to answer the question please Sign In.
*
*
Please review our recent Privacy Policy.
If you have any questions or requests, please contact us.
Rules
The Questions and Answers (Q & A) is intended to provide a means of communication between TatukGIS customers.
 
  1. Licensed users (with active maintenance play) of TatukGIS products may contribute to the Q & A content. Read-only access is available to anyone.
  2. Keep the content positive and professional.
  3. Be courteous to others by posting information when a question or issue asked on the Q & A is answered or resolved by other means (such as with help from TatukGIS technical support). Offer others at least a hint how the posted question was answered or the issue was resolved.
  4. The Q & A is not a replacement for TatukGIS technical support. TatukGIS team may or may not regularly follow or contribute content.