NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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


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

permanent link

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×252
×84
×76
×41
×8

question asked: 21 Feb '23, 10:45

question was seen: 1,258 times

last updated: 22 Feb '23, 13:23

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum