[Qgis-user] Point sampling tool
Noli Sicad
nsicad at gmail.com
Sun Aug 12 18:42:32 PDT 2012
Something to do with spanish encode.
See these postings.
https://www.google.com.au/search?q=%3A+%27ascii%27+codec+can%27t+encode+character+u%27\xf3%27+in+position+3%3A+ordinal+not+in+range%28128%29&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
Noli
On 8/13/12, Javier Bustamante <javier.bustamante.diaz at gmail.com> wrote:
> Hi, I am new to the list.
>
> I am trying to use the "Point Sampling Tool" plugin to extract some raster
> values at specified sampling points.
>
> I have installed the Point Sampling Tool plugin (0.3.3) on Q-gis 1.7.4 under
>
> Kubuntu 11.10 (linux).
>
> We I try to use the tool
> I get the following error:
>
> An error has occured while executing Python code:
>
> Traceback (most recent call last):
> File
> "/home/busta/.qgis/python/plugins/pointsamplingtool/doPointSamplingTool.py",
>
> line 98, in updateFieldsList
> self.inData.addItem(str(self.sampItems[i][0].name()) + " : " +
> str(self.sampItems[i][j][0]) + " (source point)")
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position
>
> 3: ordinal not in range(128)
>
> Python version:
> 2.7.2+ (default, Oct 4 2011, 20:29:37)
> [GCC 4.6.1]
>
>
> QGIS version:
> 1.7.4-Wroclaw Wroclaw, exported
>
> Python path: ['/usr/share/qgis/python', '/home/busta/.qgis/python',
> '/home/busta/.qgis/python/plugins', '/usr/share/qgis/python/plugins',
> '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2',
> '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
> '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages',
>
> '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL',
>
> '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7',
>
> '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
> '/usr/share/qgis/python/plugins/fTools/tools',
> '/media/Iomega_HDD/spartina_modelos/Clasificacion_ahs_casi/shp']
>
> Can someone suggest some possible solution?
>
> Thank you,
>
> Javier
> --
> Dr Javier Bustamante
> Estación Biológica de Doñana, CSIC
> Dept. Wetland Ecology
> Américo Vespucio s/n
> 41092 - Sevilla
> Spain
>
> voice: +34 954 466700 ext. 1217
> fax: +34 954 621125
> e-mail: jbustamante at ebd.csic.es
>
> http://www.ebd.csic.es/bustamante/index.html
>
> -----other links-------
> http://last-ebd.blogspot.com/
> http://euroconbio.blogspot.com/
More information about the Qgis-user
mailing list