Convert OSM to MD
Turn OSM files into Markdown. A Markdown summary of the map: its number of layers and features, then for each layer its feature count, geometry types, coordinate system, extent and columns with their types, and a table of its first 100 features with each shape in short, such as Point (126.977041 37.579617) or Polygon, 5 points, followed by its attributes.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop OSM files on the dialor turn it to pick what to do
A Markdown summary of your map.Layers, columns and the first 100 features, written as plain text.
What you get
One MD file that summarizes the map. It starts with the number of layers and features. For each layer it gives the feature count, the geometry types, the coordinate system, the extent, and the columns with their types.
Each layer also has a table of its first 100 features. Every shape is written in short, such as Point (126.977041 37.579617) or Polygon, 5 points, followed by the feature's attributes. Cells are cut at 300 characters, and the shapes themselves are not drawn.
How map data is mapped
Tagged nodes become points. Ways become lines or, when closed and tagged as areas, polygons. Route and multipolygon relations become multilines and multipolygons.
Common tags such as name, highway and building become columns. The other tags are kept as JSON in other_tags.
What it leaves behind
Untagged nodes are dropped. So are other relations, versions and authors.
Only the first 100 features of each layer appear in the table, so the file is a summary and not a full copy of the map. The same goes for long cell values, which stop at 300 characters.
OSM and MD.What each format is.
The formats
OpenStreetMap Data
OpenStreetMap nodes, ways and relations with their tags, as .osm XML or the smaller .osm.pbf.
- Extensions
- .osm .osm.pbf
- MIME type
- application
/vnd .openstreetmap .data +xml - Kind
- Text and data
Markdown
Plain text with light markup for headings, lists, links and code. What agents and developers write in.
- Extensions
- .md .markdown .mdown
- MIME type
- text
/markdown - Kind
- Text and data
In your code.The same OSM to MD conversion through the API, for your app or your agent.
$ cv convert report.osm report.md$ cv convert report.osm report.mdQuestions.What people ask about OSM to MD.
No. It holds a summary of each layer and a table of its first 100 features. The shapes are written in short and not drawn.
Yes. OSM data comes as .osm XML or as the smaller .osm.pbf.
Common tags such as name, highway and building become columns. The other tags are kept as JSON in other_tags.
They are dropped, along with other relations and versions.