This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Osmosis merge encoding issue

0

Hi, I am trying to merge together two .osm XML files using Osmosis from CLI. In the XML files there is some public transport data (like bus stops) and some of them have an apostrophe (') in their name (as in Italy is often considered as an accent). When I try to merge the two files, I get a single XML file but with the apostrophes being replaced with the " ' " string.

How can I preserve the apostrophes after the merge?

asked 21 Feb '23, 10:45

gabenarni's gravatar image

gabenarni
16225
accept rate: 0%

edited 21 Feb '23, 10:47


One Answer:

1

There is nothing wrong with that. It is just how XML encodes apostrophes. Any program reading XML files should read those correctly.

answered 22 Feb '23, 10:00

Jochen%20Topf's gravatar image

Jochen Topf
5.2k55074
accept rate: 31%

Oh, I understand. It was mostly in case I needed to check manually the files so I could understand immediately what the special character was. Thanks!

(22 Feb '23, 13:23) gabenarni

Source code available on GitHub .