Questions tagged [encoding]

The recording or reformatting of data into a computer format.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Specify file encoding when using QGIS Split vector layer

I've successfully split a shapefile into multiple shapefiles using the "Split vector layer" tool (Vector > Data Management Tools) in QGIS 3.16.15-Hannover. However, The split shapefiles ...
0
votes
0answers
24 views

QGIS GRASS decoding error

As many others, as I found out, I to have a problem with GRASS possibly due to location (Czech Republic, Middle Europe). This is what I get: QGIS version: 3.20.3-Odense QGIS code revision: 495fbaec Qt ...
0
votes
1answer
24 views

GeoServer CSS encoding

When using SLD as style format the head has an ecoding tag. Having title text in "foreign" charters in GetLegendGraphic is rendered as expected. But when using CSS format /* @title red line ...
0
votes
0answers
28 views

Wrong representation rof column name in UTF-8 encoded shape in MapInfo

I want to open an UTF-8 encoded shapefile with MapInfo (15.02). When the pop-up asks me what encoding is used, I chose UTF-8. The data contained in the table is then perfectly shown. The special ...
1
vote
0answers
65 views

Encoding problem with a geopackage

I received a geopackage file and one of the attribute contains encoding mistakes for the Swedish letters ö, ä, å. How can I fix this with QGIS or FME ?
3
votes
1answer
134 views

QGIS 3 doesn't propertly read umlaut from shapefile encoded in UTF-8

I'm using shapefiles with encoding UTF-8 that were used in ArcGIS before. The German umlaut ( ¨ ) are shown as a question mark. In Layer Properties -> Source -> Settings the encoding is set to ...
2
votes
2answers
94 views

Loading multiple CSV files in QGIS and declaring encoding

By the following code from the other post, I was able to load multiple CSV files into QGIS. import glob, os # Define path to directory of your csv files path_to_csv = "C:/Users/You/Desktop/csv ...
0
votes
1answer
23 views

Installing QGIS with osgeo4w-setup.exe gives unreadable Cyrillic text

When I try to install QGIS with osgeo4w-setup.exe, the Cyrillic text on one of the windows is unreadable. I would like a screenshot of this text in English.
0
votes
1answer
29 views

Why is “Clip vector by extent” converting my vector to ISO-8859 encoding?

I’m using the extents of one vector to clip another, using GDAL Vector processing “Clip vector by extent” function. Both vectors are encoded as UTF-8. So why the resulting vector is encoded as ISO-...
3
votes
0answers
70 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 ...
3
votes
1answer
320 views

Encoding issue in QGIS while exporting a layer with Cyrillic characters from gpkg to CSV

I need to export gpkg layer contained Cyrillic characters to a spreadsheet, e.g. csv file. I do that using Export -> Save Features As and pick UTF-8 encoding. I tried encodings: Cyrillic, different ...
5
votes
0answers
266 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 ...
3
votes
0answers
51 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 ...
2
votes
1answer
330 views

Encoding problem with Polish letters in GeoPandas

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....
0
votes
0answers
27 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
48 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
1answer
117 views

Control source file encoding (properly read windows 1255 encoded shapefiles) in ArcGIS Pro

My source data shapefile contains multiple attribute fields in Hebrew. I dragged it into a new empty map in ArcGIS Pro and created a layer. The geometry and English fields of the attributes table are ...
1
vote
0answers
192 views

Where is "Ignore shapefile encoding declaration" placed 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 shapefile encoding declaration checkbox ...
0
votes
0answers
61 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
1answer
296 views

Encoding issue in QGIS while loading CSV file

I am trying to create a value map on a field by loading a CSV file that was Exported from Google Sheets, but QGIS is loading unrecognized characters. However, the Arabic characters do show up fine ...
1
vote
1answer
256 views

GeoServer layer preview doesn't work for chinese columns or columns that has underscore in name

I am learning to use GeoServer. I published a layer from a shp, which I created by importing a csv file into QGIS in utf-8 encoding, and exporting as shp in utf-8 encoding. I added a style to the ...
3
votes
0answers
3k 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 ...
6
votes
1answer
195 views

Change encoding type for all files or whole project

How can we change encoding mode for the whole project rather than doing to single shapefiles in QGIS 3.4? I wanted to change "UTF-8" to "Shift_JIS" to all project vector files.
1
vote
1answer
1k views

Encoding problem with Portuguese characters while opening shapefile

I use a shapefile with names in Portuguese that contain special characters. When I add it to QGIS it exchanges special characters for symbols, so I have problems when comparing values with other ...
1
vote
0answers
223 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 ...
0
votes
1answer
536 views

How can I insert degree symbol to attribute table in feature class?

I am trying to insert a bearing string into an attribute table, I want the string to look like this -> S 58°15'31" W , but what I am getting in the table is this -> S 58°15'31" W The code I am ...
1
vote
2answers
306 views

How to change PostgreSQL layer encoding for QGIS Server

I'm actually stuck trying to update encoding of my PostgreSQL layers to be able to set my project as QGIS server project. In the layers properties, I can't change the layer's encoding. Any hints on ...
0
votes
0answers
274 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
220 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
92 views

st_read option does not work if parameter is separated from equal (=) sign

This is a small pet peeve. I'm reading a latin1 encoded shapefile in R using st_read and the encoding option. I just found out that if I write encoding=latin1 everything works as expected but, if I ...
3
votes
2answers
2k views

Error when clipping raster in QGIS: "'ascii' codec can't encode character"?

I have done it many times (clipping a raster with a polygon layer or by extension) but today I got an error for the first time and I don't know how to solve it. I am always using the same type of ...
1
vote
1answer
312 views

QGIS 3.4.3 Refactor fields changes symbols in fields (cp1250)

I've been using QGIS Refactor fields to change type, re-order and rename a substantial ammount of columns (statistical data). Most of them hold purely numerical values and are as such not material to ...
0
votes
1answer
1k views

How to change the encoding once a spatialpolygon is loaded in R and how to speed up loading a geodatabase .gdb file?

Question How to change the encoding setting for a spatialpolygon loaded in R without reloading it? Similar to the argument encoding=UTF-8 when loading the file with readOGR or similar to the drop-...
6
votes
2answers
1k views

Shp2pgsql encoding issue / error. Special latin /utf characters (áéíóú) are wrong

I am not able to load accented vowels coming from a Shapefile, to a PostGis geodatabase. This is my information: Operative System: Windows 10. PostgreSql Database: postgresql-10.5-2-windows-x64.exe. ...
0
votes
1answer
169 views

Encoding in Python toolbox?

My Python toolbox uses a function (code below) to save values to a CSV file. When I was using the same code in a Jupyter notebook, saved records were properly encoded (I am dealing with Polish letters ...
5
votes
4answers
382 views

Converting Excel into shapefile (keeping encoding and data type)

I am trying to create a "perfect" shapefile from the Excel data. "Perfect" means that it should match several factors: proper encoding and original data type. Excel file basically contains ...
1
vote
0answers
379 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') ...
3
votes
1answer
601 views

how to change encoding of a geopackage in QGIS 3

For other formats you just go to Label >> Properties >> Source and there's a clickable button to select from a list of locales; but this box is grayed out for GPKG, is there a way to change the ...
3
votes
1answer
552 views

QGIS Server labels encoding

I have a PostgreSQL database with "UTF-8" encoding which contains data in Russian language. Each table of database loaded in QGIS as a PostGIS layer. I want to show labels of objects on a ...
5
votes
1answer
439 views

Change data source encoding of GetFeatureInfo response for a WMS in QGIS

How do I change the data source encoding of the GetFeatureInfo Request of a WMS-Layer in QGIS 2.18.x/3.x? I can't find any setting to handle the encoding. I need UTF-8 encoding for special characters ...
2
votes
1answer
3k views

Export Shapefile with UTF-8 encoding for non-english characters in GeoPandas? [closed]

This part of code puts the EΞ characters in a column and when exported it shows ?? in their place. dff['KAEK']=dff['CAD'].str[:5].add('ΕΞ').add(dff['CAD_AD_F'].str[5:]).add(dff['rank']) dff.to_file(...
-1
votes
1answer
181 views

Several letters missing in QGIS 3.0.3 [closed]

My QGIS cannot display several letters, like for example Ž, Đ, š..... Other programs on my PC do recognize these letters/fonts. What can I do?
3
votes
1answer
393 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 ...
1
vote
1answer
110 views

Handling of accented characters in GMAPSUPP.IMG

I'd like to use my Garmin 20 to go biking. Since I do not want to buy one of microSD card from garmin, I'd like to build one myself. For this I went to: http://garmin.openstreetmap.nl/ Selected: "...
4
votes
0answers
316 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 ...
1
vote
1answer
955 views

Convert shapefile into DXF file including Hebrew labels in QGIS 2.18

I try to convert this polygon shapefile into DXF including Hebrew labels (this is the QGIS screenshot): The data source encoding is UTF8 I opened the dxf file in AutoCad - but there no features in ...
1
vote
2answers
410 views

Encoding format in QGIS, Vietnamese accents

What's the data source encoding to use in QGIS to delete the Vietnamese accents? I want to get my data in the attribute table from Bình Chánh to Bing Chanh.
4
votes
1answer
2k views

Change data source encoding in QGIS 3.0.x?

Changing Data source encoding through layer Properties worked well for me until version 3.0.x - now, the field is grayed out and shows only UTF-8. Our Data sources are quite mixed and I get spades, ...
5
votes
2answers
2k views

QGIS tools change special characters to unreadables

QGIS tools change special characters (õ, à) of attributes into unreadable characters. Example: # load 1 wfs feature uri = "http://geo.vliz.be/geoserver/MarineRegions/ows?service=WFS&version=1.0....
2
votes
0answers
181 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 ...