Questions tagged [encoding]

The recording or reformatting of data into a computer format.

Filter by
Sorted by
Tagged with
1
vote
0answers
662 views

How to view french characters in QGIS attribute table

I have a shapefile 'output' with encoding windows-1252 IANA encoding. The attributes of a column contains some french characters which appears as ?. Even i tried the changing the encoding of QGIS ...
5
votes
1answer
190 views

Display Emoji Characters in QGIS

I have data with emoji characters in a field that in ArcMap are shown as emojis in the Attribute Table. I've tried all the usual encoding suspects in QGIS but haven't managed to get them display ...
1
vote
1answer
305 views

Issues with OSM encoding

I am having troubles with the encoding of the osm data in R. Here is a reproducible example using the osmar package: osmData <- osmar::get_osm(osmar::center_bbox(23.334360, 42.693180, 100, 100)) ...
1
vote
1answer
157 views

Interlis Encoding Problem

Right now, I start using Interlis in QGIS (I never used Interlis before...). However, there seems to be a systematical encoding problem. When I select the transfer file and start the import, the ...
2
votes
3answers
564 views

ogr2ogr mssqlspatial string imports as a single special character

When importing a shapefile (in this case a public census tract shapefile) into SQL Server 2016 using ogr2ogr, the string fields are set to a single special character. The geography and integer fields ...
1
vote
0answers
549 views

Pythonaddins Message Box encoding problem

I've been trying to create a MessageBox with accented characters. To do so, I used the decode() and encode() functions. The code is part of a Python Toolbox. pythonaddins.MessageBox("ééàà".decode('...
5
votes
1answer
3k views

Change default data source encoding in QGIS to utf8

Working in languages with special characters, I always struggle with remembering to change the data source encoding from system to utf8 when I import files. Is there a way to have it automatically use ...
5
votes
1answer
3k views

How to change character set in all columns of many tables in Postgresql / PostGIS?

I have inserted hundreds of tables (from shapefile format) in a Postgresql / Postgis database with the shp2pgsql tool. But because I have encoding issues, I want to change character set in all columns ...
10
votes
1answer
5k views

Is it possible to change default encoding for QGIS?

I often transfer layers from Windows machine to Linux and vice versa and it causes me problems (incorrectly displayed labels and same with text in attribute table) when I use drag and drop to put ...
1
vote
0answers
179 views

Usage of “160” instead of “156” as the UN M49 or ISO 3166-1 numeric country code for China

I'm guessing the short answer is "Something complicated and political to do with Taiwan", but I'd like to know the detail... I'm matching up some different international data sources and ran into a ...
1
vote
0answers
452 views

PyShp ASCII encoding error

I want to filter a set of Point Shapefiles using PyShp. That works fine with one of the file sets (one point shapefile) but throws an error for another set that states: UnicodeDecodeError: 'ascii' ...
0
votes
1answer
124 views

Preventing GDAL-dissolve from ignoring attribute encoding?

Given a huge shapefile which needs desolving by one attribute field to reduce redundancy. The GDAL dissolve functionality does that quite swiftly but the output attributes change the encoding so äöü ...
1
vote
0answers
155 views

Encoding not active in Save vector layer as

I've seen some former questions regarding encoding problems in QGIS, but I'm not able to find any answer for solution. I'm a novice in QGIS 2.14(2.18) and want to convert an Esri Shapefile to ...
2
votes
1answer
2k views

How to fix encoding problem in shapefile importing?

I tried to import a shapefile to postgresql. I used PostGIS shapefile import/export manager. Earlier I have done same thing but did not face any problem. But this time I am facing problem with ...
1
vote
1answer
483 views

Displaying degree symbol in popup template of ArcGIS API for JavaScript?

I am editing javascript code of ArcGIS API for JavaScript for online map. the piece of code is here: var lvEsriPopupT = new esri.dijit.PopupTemplate( { "...
2
votes
0answers
95 views

Can someone point me what's the type of encoding used in

I am trying to understand the type of encoding used to represent a poly line on earth from here.com Platform Data Extension service requesting ROAD_GEOM_FC layer. "LAT":"5013674,12,12,16","LON":"...
4
votes
1answer
114 views

Encoding problem

I used Google Maps to get a text file with the elevation data from an area. Here it is: https://drive.google.com/file/d/0B7P95aWmH4DURTl1ZWx5VUtVQm8/view?usp=sharing Then I used QGIS to get a DEM ...
5
votes
3answers
467 views

QGIS Processing algorithm cannot deal with special characters in input

My aim is to write an algorithm, where the user selects a settlement name, and numeric value, from which a query is generated, and a selection proceeds on the selected layer, than the selection result ...
1
vote
1answer
237 views

Get all data source encoding list

I am able to set data source encoding through this answer to Setting character encoding for all layers at once using PyQGIS? and now i want to list all the datasource encodig types. how it is possible ...
5
votes
1answer
238 views

Letters change when saving tab into shp in QGIS

I am working in QGIS 2.18. When I open and then save a .tab file as .shp file I get different symbols in the letters of the attribute table. I don't know what coding option I should use in order to ...
9
votes
3answers
22k views

Change Shapefile data source encoding?

I tried to change the only the shapefile datasource encoding through properties and also How to encode shapefiles from LATIN1 to UTF-8? but it doesn't change it. Without saving the QGIS project can'...
1
vote
0answers
77 views

Encoding error 2006 from Carto?

When I want to upload a .zip-file of an ESRI-shapefile, I always get the encoding error 2006. When I got this error the first time, I encoded the shapefile to UTF-8 in QGIS. Furthermore I uploaded the ...
1
vote
0answers
66 views

Codecing vectorial field qgis

I have vectorial data that I have loaded in qgis setting as UTF-8. I was checking if the values of field in atribute table is standartized. So I am creating a script to do it. However, when I print ...
4
votes
1answer
852 views

Geoserver arabic labels and attributes doesn't show in right encoding character set

I set my shapefiles UTF-8 encoding which supposed to display Arabic fine, but it doesn't work in QGIS unless I change the encoding to Windows-1256. QGIS reads the arabic well with this encoding. But ...
1
vote
1answer
239 views

Can a table (.dbf) be encoded in two different systems?

I am having a *.dbf-file. When I load it into QGIS (delimited text-file) I am having trouble getting all the characters right. Either I load it in encoding=windows-1252 - then the headers will be ...
1
vote
2answers
2k views

Preserving special chars using osgeo.ogr.Driver to shapefile in Python?

I am converting KML files to shapefiles and run in to the problem that special characters are not preserved. #!/usr/bin/env python # -*- coding: utf-8 -*- import os, ogr, osgeo, sys ogr....
4
votes
1answer
3k views

What is 'data source encoding' in QGIS?

I'm running QGIS 2.1.4 and Windows 7. For each layer, under properties there is a drop down box called 'data source encoding'. Mine is set to 'system'. I am wondering what this means, there seems to ...
1
vote
1answer
2k views

OWSLib - ValueError: All strings must be XML compatible: Unicode or ASCII

I try to use OWSLib to search metadata in GeoNetwork, and I have problems when the string contains non-ASCII characters. geonetwork = 'http://geonetwork-mshe.univ-fcomte.fr:8080/geonetwork/srv/fre/...
2
votes
0answers
320 views

QGIS Processing algorithms have encoding problems

I use QGIS 2.14.1. I add vector layer from UTF-8 encoded geojson, which is read fine and attribute table show correct characters. If I use QGIS algorithm on this layer (i.e. clip, voronoi, etc) I ...
1
vote
1answer
1k views

Exporting from Excel to csv and import in QGIS retaining encoding/special characters (with workaround)?

Problem: When exporting Turkish character encoding into a csv file from an Excel Table (Excel 2013) as a source file I can´t import the resulting csv into QGIS to still displaying the characters ...
5
votes
2answers
1k views

ogr2ogr: encoding issues when importing from Oracle Spatial to PostGIS

I'm trying to import some spatial tables from Oracle Spatial to PostGIS using ogr2ogr, but I can't figure out why the special characters on the attribute tables get messed up while I'm doing it. My ...
3
votes
1answer
6k views

QGIS 2.14 Plugin Encoding Error

I've developed a plugin for QGIS 2.12 which uses data that is encoded in UTF-8. The plugin works fine for 2.12, but when I try to start it in QGIS 2.14 it throws me the following error: ...
3
votes
1answer
206 views

Problem with shapefile created using Arcgis 10.3

I have create a shapefile using Arcgis 10.3 . the shapefile contains attribute data in Arabic language . the problem came when I open it in Mapwell (an app specializes in creating navigable maps) ...
1
vote
1answer
7k views

How to check the encoding in the .dbf files?

I am having difficulties when I try to load a shapefile into my database, the is because I do not know the encoding of the dbf portion of the shapefile. The attribute tables are in Spanish, I have ...
0
votes
1answer
139 views

Custom encoding in qgis-web-client wsgi search

Firstly I would like to note that my qgis-webclient and the wsgi searching are all working correctly as they should. After creating afew datatables for test purposes the url: http://localhost:1234/...
3
votes
0answers
172 views

Using linguistic phonetic alphabet in QGIS?

I want to know if there is a way to use the International Phonetic Alphabet in QGIS? I am working with a group of linguistics that want to map dialectic varibility in a language (Nahuatl) and I am ...
1
vote
0answers
130 views

Problem with Mapserver label encoding in Greek

I'm having a problem when trying to render a shapefile's labels that has Greek characters with the use of truetype and I'm getting weird characters. The code for my label section is as follows: LABEL ...
2
votes
2answers
285 views

Greek letters of attributes are not shown correctly in FME

I am using FME 2014 in order to manipulate some shape files. When I load and inspect the content of the shapes file, I get the following problem: Although all the greek characters of the content is ...
1
vote
1answer
382 views

Export shapefile with “non standard” characters to csv and read in excel

Macbook air mid 2011 running OSX 10.10.5 QGIS 2.8.2 - Wien Excel 15.13.1 (O365) When I export a shapefile containing non-ascii characters to a csv file using QGIS (setting encoding to utf-8) and ...
2
votes
0answers
92 views

Finding specific area with coordinates out of a lot of LAS data?

I would like to extract spatial data out of a great amount of LAS data. Unfortunately, there is no index or sth that could help me find which file is for what area. Also, it is not possible to ...
0
votes
2answers
2k views

Encoding error when importing to PostgreSQL using osm2po SQL file

After running osm2po on a pbf file for Europe I am importing the resulting files into a PostGIS and pgRouting enabled database. During the import psql it reporting many encoding errors because the ...
0
votes
1answer
157 views

OpenLayers.Filter.Comparison value charecter encoding

I am using vector layer with WFS protocol var adressVector = new OpenLayers.Layer.Vector("Adress", { strategies: [new OpenLayers.Strategy.BBOX()], protocol: new OpenLayers.Protocol.WFS({ ...
0
votes
1answer
213 views

GeoTools decode FeatureType

Encode: 1- A way of encoding a FeatureType is : SimpleFeatureType TYPE = DataUtilities.createType("Location", "geom:Point,name:String"); GML encode = new GML(Version.GML2); encode.setBaseURL(new ...
4
votes
1answer
2k views

Setting character encoding for all layers at once using PyQGIS?

I have to set the character encoding for all layers from system to UTF-8. Is there a way to change this in all loaded layers at once? I'm using QGIS 2.8.1 on Windows 7.
1
vote
1answer
2k views

Stop automatic ANSI_1252 to UTF-8 encoding when adding a DXF layer?

I have a DXF file encoded in ANSI_1252, with object attributes containing umlauts. When I open it in QGIS, the umlauts don't display properly. This apparently happens because QGIS automatically sets ...
1
vote
1answer
1k views

Creating labels with Umlauts, accents, etc. in QGIS

I have a problem labeling features with special characters like French accents, umlauts, etc. I have the names in the attribute table, but names like Niafunké are displayed Niafunk�. I assume it has ...
0
votes
2answers
2k views

Set encoding when using ogr2ogr to export from Oracle db to MapInfo table?

I am trying to automate the export of spatial data from a oracle database to mapinfo .tab files. Using this thread I made my script. However I can't see how to set the encoding right. My data have ...
2
votes
1answer
206 views

Encoding error between maptools and ArcGIS

I am having a trouble of encoding at writing shapefile by maptools (0.8-34) of R by MacOSX and reading that by ArcMap 10.2.1 in Windows 8.1 through parallels desktop. Using an original shapefile, I ...
1
vote
1answer
829 views

How to replace characters to eliminate encoding errors?

Working with Qgis, I have a table representing streets. Attributes inlude street name, length, pavement and some others. Unfortunately, all names with ä or ö or ü display 'odd characters' like Ã1/4. ...
5
votes
4answers
3k views

Converting shapefile from Shift_JIS to UTF-8 when the usual methods fail

Long story short, I'm trying to import this ESRI shapefile of Japan into CartoDB. (Sorry, no direct link: to download, click on the orange ファイルのダウンロード button, check 同意する to agree to the T&C, then ...