Convert OSM to GML

File Extension OSM
Full Name OpenStreetMap Data Format

File with an .OSM extension contains street map data stored in the OSM (Open Street Map) file, based on XML. Such record is based on nodes representing specific points, roads (which connect the nodes), and relations that may contain properties of given streets, points, objects or indicators.

File Extension GML
Full Name Geography Markup Language

Files with the .GML extension contain geographical data saved in a format based on XML structure and allow for a graphical presentation of various types of data, such as vectors, points, and areas. The files are used for saving such data in geographical information system applications and for standardized exchanges between such applications.

What is file format conversion?

File format conversion is the process of transforming a file from one format (referred to as "OSM") to another (referred to as "GML"). This may be necessary for various reasons. For example, OSM file may be incompatible with the software or device we want to use to open or edit it. In such cases, converting the file from format OSM to format GML becomes essential.

So, how can we perform OSM to GML file conversion? Fortunately, there are many tools and computer programs available that enable file format conversion. These tools work by reading the data from the file in format OSM and transforming it into format GML. This allows the preservation of the original information contained in the file, even after changing its format. Below you will find a list of OSM to GML converters.

Conversion from OSM to GML

OSM to GML

How to convert the OSM file to GML?

If you have already downloaded one of the converters and installed it on your computer, you can proceed to the appropriate conversion process of OSM to GML. Handling all the programs is usually very intuitive and is based on the same pattern of conduct. We will briefly discuss a few steps that you always need to go through while changing the format of the OSM file:

  • Please indicate on your computer the source file OSM, the format of which you are going to change
  • Load the OSM file to the application
  • Select the output format of the GML file (the one that we want to achieve)
  • Select the location to save the output file GML on the disk (the place where the program will save the converted file)
  • Confirm conversion
  • Wait for a moment
  • Enjoy the converted GML file that can be found in the location selected in step 4
Other conversions
from the OSM format:
Repair icon
Other conversions
to the GML format:
Repair icon
I cannot see the file extensions. What should I do?

File extensions are not normally displayed to users. To change this, go to Control Panel, select Appearance and Personalization and Folder Options. Next, select the View and find the option "Hide extensions for known file types". The option should be deselected (cleared) and confirmed with OK.