[QGIS-trac] [Quantum GIS] #2789: Encoding problem with OSM plugin

Quantum GIS qgis at qgis.org
Mon Jun 7 12:04:41 EDT 2010


#2789: Encoding problem with OSM plugin
------------------------------------------------+---------------------------
   Reporter:  cdavilam                          |              Owner:  borysiasty   
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.5.0
  Component:  Python plugins and bindings       |            Version:  HEAD         
   Keywords:  Encoding, OSM                     |   Platform_version:  testing      
   Platform:  Debian                            |           Must_fix:  Yes          
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 If you edit OSM data (downloaded or from a saved *.osm file) that contain
 accented characters, ñ or similar, you get the following error:[[BR]]

 process failed. OpenStreetMap server response: Bad Request - Cannot parse
 valid way from xml string <?xml version="1.0" encoding="UTF-8"?><osm
 version="0.6" generator="OpenStreetMap server"><way id="23108300"
 visible="true" timestamp="2010-04-05T10:50:23Z" user="antecessor"
 version="10" changeset="4919909"><nd ref="248219762"/><nd
 ref="248219763"/><nd ref="248219764"/><nd ref="248219765"/><nd
 ref="248219766"/><nd ref="248219767"/><nd ref="248219768"/><nd
 ref="248219769"/><nd ref="248219770"/><nd ref="248219771"/><nd
 ref="412472837"/><nd ref="248219772"/><nd ref="248219773"/><nd
 ref="412472711"/><nd ref="447083532"/><nd ref="685164049"/><nd
 ref="447083436"/><nd ref="685164046"/><nd ref="248219776"/><nd
 ref="248219777"/><nd ref="248219778"/><nd ref="248219779"/><tag
 k="highway" v="primary"/><tag k="lanes" v="2"/><tag k="name" v="Carretera
 de Cáceres a Villanueva de la Serena"/><tag k="oneway" v="no"/><tag
 k="ref" v="EX-206"/><tag k="source" v="survey"/><tag k="surface"
 v="asphalt"/></way></osm>. Fatal error: Input is not proper UTF-8,
 indicate encoding !.[[BR]]

 Data used to reproduce the error can be downloaded with the following
 bbox: Lat from 39.44089 to 39.45034, Lot from -6.35628 to -6.34617[[BR]]

 If you select way with ID 23108300 (primary highway, ref EX-206), way name
 is displayed correctly (Carretera de Cáceres...) but relation name not
 (Carretera de Cáceres...). Another member of the same relation can be
 edited without problems  using JOSM.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2789>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list