Questions tagged [encoding]

The recording or reformatting of data into a computer format.

Filter by
Sorted by
Tagged with
2
votes
0answers
32 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
45 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 ...
4
votes
0answers
47 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
23 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
45 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....
0
votes
0answers
33 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
41 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
34 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
67 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 ...
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
37 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
101 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 ...
0
votes
1answer
93 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
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 ...
6
votes
1answer
149 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
460 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
120 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
242 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
229 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
189 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
160 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
44 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
1k 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
254 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
853 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
1answer
540 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
123 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
320 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
281 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') ...
2
votes
1answer
429 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 ...
2
votes
1answer
394 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
357 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
2k 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
154 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?
2
votes
1answer
293 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
91 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
261 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
842 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
357 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.
3
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, ...
3
votes
2answers
1k 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
146 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 ...
0
votes
1answer
713 views

Encoding issues (UTF-8 to latin1) in the production of shapefiles using QGIS API

We are facing encoding problems with shapefiles trying to convert UTF-8 encoding to latin1/ISO8859-1 using QGIS API. In QGIS desktop over the layer added to the TOC doing "save as" and specifying the ...
1
vote
1answer
75 views

How to extract the text encoding from a shapefile?

Is there any way to extract the encoding, like utf8, from a shapefile? I want to be able to write a script that enables the user to import shapefiles without having to worry about which encoding the ...
1
vote
1answer
138 views

Issues loading Layers with Cyrillic Characters to Geoserver 2.12

I am running Windows 7. With a Pure installation of Geoserver 2.12.1 (2.12.0 is the same). Trying to upload local layer with cyrrilic name: Pure installation of Geoserver 2.10.0 (2.11.4 is the ...
4
votes
1answer
1k views

Change shapefile encoding to ASCII in QGIS

I want to convert my shapefile encoding source to ASCII but unfortunately, it is not given in the encoding source type. Maybe it is given with a different name or it is not supported in QGIS? ...
7
votes
0answers
126 views

Open WMTS query parameter encoding with “+” character in QGis [closed]

I am trying to create a WMTS endpoint with query parameters in the urls that contain a + character. So my resource url looks like this: <ResourceURL format="image/png" template="http://localhost/...
1
vote
2answers
2k views

french accents changed to junk characters when saving the SLD in geoserver 2.11.2 [closed]

I have a shapefile with french accent and needs to be published in geoserver 2.11.2. I have my geoserver in tomcat 8.5 and am using Ubuntu 14.04. The french accents are showing fine in get feature ...
0
votes
1answer
339 views

French accents in geoserver

I am using geoserver 2.11.2 and tomcat 8.5. I have some french accents in shapefile. The french accents looks fine when viewing the attributes in QGIS. But it appears as special characters when ...