How to import all fields of my GML file

How to import all fields of my GML file

patrickvanhoeijen
Contributor Contributor
5,293 Views
43 Replies
Message 1 of 44

How to import all fields of my GML file

patrickvanhoeijen
Contributor
Contributor

I have this GML file attached ( I renamed to txt as I could not upload GML). I try to import this in Autocad map via Mapimport>GML. Some of the data I cannot import, I am interested in these fields/values for example to display as labels/texts:

<oz:kadastraleAanduiding>
<oz:TypeKadastraleAanduiding>
<oz:kadastraleGemeente>
<oz:KadastraleGemeente>
<t:code>272</t:code>
<t:waarde>Emmen</t:waarde>
</oz:KadastraleGemeente>
</oz:kadastraleGemeente>
<oz:sectie>AF</oz:sectie>
<oz:perceelnummer>58</oz:perceelnummer>
<oz:aKRKadastraleGemeenteCode>
<oz:AKRKadastraleGemeenteCode>
<t:code>319</t:code>
<t:waarde>EMN00</t:waarde>
</oz:AKRKadastraleGemeenteCode>
</oz:aKRKadastraleGemeenteCode>
</oz:TypeKadastraleAanduiding>
</oz:kadastraleAanduiding>

 

Anyone can help me?

0 Likes
5,294 Views
43 Replies
Replies (43)
Message 41 of 44

АлексЮстасу
Advisor
Advisor

Do you have 2021, and ipf from my 2019 works in it?

Good!

 

The video was made by ChicagoLooper, and he generally found this solution.

 

I don't know why you're having problems with a specific field yet.
Attach a screen of the fields definition window.

 

There are different answers to your second question, and it is better to ask it in the new topic.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 42 of 44

TerryDotson
Mentor
Mentor

Your XML data field content is deeply nested (excessively so).  It's not surprising that every reader has come up short (as ours did initially).  I am surprised that QGIS misses the parcels completely?  We did a major rework of our driver to accommodate this file (now off to see if previous test files still work).

 

capture.png

Message 43 of 44

АлексЮстасу
Advisor
Advisor

You have not fully read the attributes with date-time - "historie_...".

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 44 of 44

TerryDotson
Mentor
Mentor

Good catch.  It was the code to strip the prefixes (like oz:), corrected that and it will read 2019-04-30T11:17:47.000 now.  Fortunately the major rewrite still reads the other half dozen GML test files I had.

0 Likes