[Tile-serving] [openstreetmap/osm2pgsql] Garbled data in the tags field ('name' tags with accents). (Issue #1893)

Sarah Hoffmann notifications at github.com
Thu Jan 19 18:14:57 UTC 2023


That is the essential information you should have reported to begin with.

Minimal example to reproduce:

```
echo 'n1 Tfoo=bar,name=höchst x1 y1' | ./osm2pgsql -d gis -G --hstore --style ../flex-config/simple.lua -O flex - -r opl
```

ends up with:

```
me at machine:~/osm2pgsql/build$ psql gis
psql (13.8 (Debian 13.8-0+deb11u1))
Type "help" for help.

gis=# select * from pois;
 node_id |               tags                |                        geom                        
---------+-----------------------------------+----------------------------------------------------
       1 | {"foo": "bar", "name": "höchst"} | 0101000020110F0000310C4ADA772DFB406BF12149D22DFB40
(1 row)

gis=#
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1893#issuecomment-1397410527
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/issues/1893/1397410527 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230119/2fa0c386/attachment-0001.htm>


More information about the Tile-serving mailing list