OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

Announcement

A fix has been applied to the login system for the forums - if you have trouble logging in please contact support@openstreetmap.org with both your forum username and your OpenStreetMap username so we can make sure your accounts are properly linked.

#1 2018-02-12 12:19:54

qu2256
Member
Registered: 2017-11-22
Posts: 3

OSM XML Attribute Sequence

Hello, everyone,

I am a newcomer to everything that has to do with OSM. Recently I have tried to convert my own OSM data to XML from another format (which is not important). Now the question arises whether the order of attributes in the XML tags plays a role and whether they always have the same position in the XML tag. Such fixed rules are of course advantageous for the converter, because I can eliminate all checks and simply know that the first attribute of a node is always an ID.

Example:
<relation id="7439" version="203" timestamp="2017-10-29T20:59:26Z" changeset="53352397" uid="3993737" user="lorec10">
        <member type="node" ref="26691393" role="admin_centre"/>
...

I hope someone can help me.

qu2256

Offline

#2 2018-02-12 13:31:33

mmd
Member
Registered: 2010-11-06
Posts: 1,372

Re: OSM XML Attribute Sequence

Cross posted on German Forum, no need to answer here.

Offline

Board footer

Powered by FluxBB