Questions tagged [encoding]

The recording or reformatting of data into a computer format.

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
48 views

How to change QGIS 3 default encoding

When I import shapefile layers their encoding is System while the data is in UTF-8. How to change the default encoding to UTF-8? This question answer here " Is it possible to change default ...
4
votes
0answers
268 views

Problem with encoding when clipping raster

I am using QGIS 2.18 on a Linux Mint computer using UTF8. I downloaded solar radiation raster data from PVGIS. The files are encoded as us-ascii (according to the linux command tool file -bi). Opening ...
3
votes
0answers
26 views

Fixing DXF import encoding problem using PyQGIS3

I have text with French accent in a DXF I import in QGIS3.16. The DXF is encoded in UTF-8 but as a result, the features attributes have encoding problems. The é charcacter are written é. Here's a ...
3
votes
0answers
2k views

Encoding categorical variable for random forest with sklearn

I have a random forest model that works pretty well, taking a bunch of vanilla remote sensing raster data as input. I think it could be improved with addition of some information that I currently have ...
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 ...
3
votes
0answers
476 views

How to convert shapefile to mapinfo file preserving special characters?

I have to convert a bunch of shapefiles to mapinfo files on a machine without a MapInfo license, so I am using ogr2ogr to perform this task. The problem is that when opening the mapinfo files in ...
2
votes
0answers
39 views

Setting QGIS WMS character encoding

I am using the QGIS as a WMS client. I'm loading the WMS layer but the legend characters (which are in Persian language) are not displayed correctly in the Layer tab. Is there anyway I can handle the ...
2
votes
1answer
49 views

GeoPandas: Problem with encoding

I have the problem with encoding because I need Polish letters and encoding="utf-8" didn't work. import geopandas df = geopandas.read_file(r'/home/gis/adresypolska/PRG_PunktyAdresowe_POLSKA....
2
votes
1answer
305 views

Unicode problems while writing selected features to a new shapefile with Fiona

I have a shapefile with a large number of geographic features (marine protected areas). I'm trying to read through all of the areas in the shapefile, select those that fit a certain criterion, and ...
2
votes
0answers
153 views

ArcGIS 10.4 strange phenomenon with special Unicode Characters Column

I worked on this problem for a while and I have localized it pretty well now to ArcGIS 10.4 at its core (haven't tested 10.5): A column that contains special Unicode Characters (emojis) is not read ...
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":"...
2
votes
0answers
321 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 ...
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 ...
2
votes
0answers
130 views

Openlayers language encoding problem

I'm trying to change OpenLayers.Lang file to Turkish. I succeeded to some extent except for encoding. when I use şiüçöİı chars that are particular to Turkish, they are replaced with some strange ...
2
votes
0answers
1k views

Geoserver outputs latin1, even though utf-8 is set as encoding

I've been told, by the administrator, that this geoserver is outputting utf-8: http://wfs-kbhkort.kk.dk/web/, however I can only get good results when parsing WFS from latin1 to utf-8. Can anyone ...
1
vote
0answers
82 views

How to find “Ignore shapefile encoding declaration” in QGIS 3.10.7

When I tried to change data source encoding of a DXF file in QGIS, the field is grayed out and stuck to UTF-8. Then I found this solution. But there's no Ignore shape file encoding declaration ...
1
vote
0answers
127 views

Encoding GeoJSON to something other than 'UTF-8' from QGIS

I want to save the shp file as GeoJSON and encode it to system, but my QGIS is disabled for selecting an encoder. Adjusted the 'ignore shapefile incoding declaration' option, but it did not work. I ...
1
vote
0answers
294 views

Encoding issues in Arcpy, appears unicode?

I have a column that has Greek characters: Example: Like "*\u0395\u03a*") What can I do to make it appear as it should? What I have tried: import sys reload(sys) sys.setdefaultencoding('utf-8') ...
1
vote
0answers
666 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 ...
1
vote
0answers
552 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('...
1
vote
0answers
180 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
454 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' ...
1
vote
0answers
156 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 ...
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 ...
1
vote
0answers
131 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 ...
1
vote
0answers
255 views

Loading TomTom Multinet with shp2pgsql accented characters

I am tasked with loading a new set of TomTom multinet shape files into a Postgres database using a bespoke tool for the process. The source data is supposedly in UTF-8. I have just realised that ...
0
votes
0answers
37 views

Providing GDAL with right encoding

I am using osgeo4w shell to execute gdal_translate command for creating geospatial pdf. My command is: "gdal_translate -of PDF -tr 0.0001 0.0001 -a_srs EPSG:3765 Granice.tif ...
0
votes
0answers
24 views

Join between census shapefile and census CSV yields attribute table columns populated in disorderly fashion

I am using QGIS 3.10 to display American Community Survey variables at the census tract level. Last week, I successfully joined three ACS tables to duplicated copies of census tract geometries (same ...
0
votes
0answers
44 views

What format is this list of times, lats and lons?

I have a bunch of strings from an XML file of a sailboat race (the Volvo Ocean Race 2011-2012). The XML file was consumed by an old flash app which I no longer have access to. I am 90% sure the ...
0
votes
0answers
16 views

QGIS 3.12 Importing dwg encoding problem

I am using QGIS 3.12. I am trying to import dwg file. The file contains text object in hebrew that looks fine in the Autocad but in the QGIS it turns to meaninles marks like: $#"'^ .Can I do ...
0
votes
0answers
39 views

Can't save any polygon layer: getting strange error message

After using QGIS 3.12 for some time, I ran across a problem where I could not save any polygon that had a text field. Even if I create a new project with nothing in it, make a polygon, and add a text ...
0
votes
0answers
198 views

Problems with GeoServer REST API via Python and text encoding

I have checked a few other threads talking about GeoServer REST API and encoding, but nothing seemed to work. I have a dataset already uploaded into GeoServer and now I just want to update some of ...
0
votes
1answer
163 views

Using Google Encoded Polyline Algorithm Format with Oracle Database

Google's Encoded Polyline Algorithm Format is implemented in several GI tools. PostGIS e.g. has ST_AsEncodedPolyline and ST_LineFromEncodedPolyline functions. In contrast, Oracle Database has no ...
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 äöü ...
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({ ...