[Qgis-user] Problems using OSM plugin
Martin Dobias
wonder.sk at gmail.com
Mon Jun 7 02:00:55 PDT 2010
Hi Carlos
please file both bugs in Trac.
(for the first problem - encoding handling should be handled by the
plugin, no need to set it manually)
Martin
2010/6/6 Carlos Dávila <cdavilam at orangecorreo.es>:
> I'm trying to use OSM pluging for editing data for the first time and am
> facing some problems:
> 1- When I upload edited data I get the error below, no matter if I edit a
> saved osm file or freshly downloaded data:
>
> Upload 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 !.
> How should I indicate encoding?
>
> 2- When using "Move feature" tool, after selecting a feature, any mouse
> movement causes a Python error:
>
> Ha ocurrido un error mientras se ejecutaba el código de Python:
>
> Traceback (most recent call last):
> File
> "/usr/local/qgis/share/qgis/python/plugins/osm/map_tools/OsmMoveMT.py", line
> 587, in canvasMoveEvent
> (deltaX,deltaY)=self.__getDeltaForPoint(event) # snapping is done in
> this function
> File
> "/usr/local/qgis/share/qgis/python/plugins/osm/map_tools/OsmMoveMT.py", line
> 648, in __getDeltaForPoint
> (self.snapFeat,self.snapFeatType)=self.dbm.findFeature(snappedPoint)
> TypeError: 'NoneType' object is not iterable
>
> Versión de Python:
> 2.6.5+ (release26-maint, May 30 2010, 13:56:50)
> [GCC 4.4.4]
>
>
> Versión de QGIS:
> 1.5.0-Trunk Trunk, 13635M
>
> Ruta de Python: ['/usr/local/qgis/share/qgis/python',
> '/home/carlos/.qgis/python', '/home/carlos/.qgis/python/plugins',
> '/usr/local/qgis/share/qgis/python/plugins', '/usr/lib/python2.6',
> '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
> '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
> '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL',
> '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6',
> '/usr/lib/python2.6/dist-packages/gtk-2.0',
> '/usr/lib/pymodules/python2.6/gtk-2.0',
> '/usr/local/lib/python2.6/dist-packages',
> u'/home/carlos/.qgis//python/plugins',
> '/usr/local/qgis/share/qgis/python/plugins/fTools/tools']
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
More information about the Qgis-user
mailing list