Questions tagged [encoding]

The recording or reformatting of data into a computer format.

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

SAGA processing and special characters

I’m using some SAGA processing for vector layers in QGIS. Is it a way to change the default encoding in SAGA? I have attribut value with french characters (é, ê, à) and after a SAGA Union, they are ...
katagena's user avatar
  • 1,554
1 vote
1 answer
57 views

Error accents and special characters

I am a master's student in Ecology and Environment in Portugal. It's been a few months since I had my first contact with QGIS. When using a shapefile, in the attribute table, I select by expression, ...
Sandy Morgado's user avatar
0 votes
2 answers
39 views

When importing a style via SLD in GeoServer and previewing it, there is an issue with the Chinese legend names displaying as garbled characters

When I use an SLD file exported from QGIS to create a new style in GeoServer and then preview the style, there is an issue with the legend name displaying as garbled characters. QGIS windows as ...
苏云明's user avatar
0 votes
1 answer
71 views

GRASS GIS Encoding

I want to know if there is a way to change the default GRASS GIS 7.8.7 encoding (UTF-8) to (ISO-8859-1). My problem is that I have accent words in my "attribute data" (á,é,í, etc), so when I ...
Pablo Sanhueza's user avatar
0 votes
0 answers
54 views

Is there a format like polyline6 but with altitude for API

I develop a REST API and need to send/receive coordinates with their altitude. For now we only needed latitude and longitude so we were using Polyline6 to have an efficient way to transfer data. ...
Will's user avatar
  • 101
0 votes
1 answer
31 views

QGIS not showing Tigrinya language

I struggle to display Tigrinya language in QGIS. It is supposed to show with UTF-8 encoding. But the letters are not shown, just white spaces. I went through many other encodings, but coulnd't find ...
Andreas's user avatar
  • 73
0 votes
0 answers
128 views

Create Google Maps hyperlink in QGIS

I have a feature with fields; point name, X and Y fields. I want to create a Google Maps hyperlink field that displays the point name in google maps and not the x y coordinates. How do I go about it ...
Mungai Evanson's user avatar
2 votes
1 answer
67 views

Encoding that works for German letters in QField

In my project I work with the German letters ü, ö, ß, ä, etc. I joined my shapefile with tables (Excel, CSV). For showing the German letters above I need an encoding that displays these. I chose ISO-...
Lara_Croft4Geo's user avatar
2 votes
0 answers
81 views

QGIS: Display emojis in labels (or alternatively: how to have several symbols per point)

I have a set of data that uses emojis in one column of the attribute table. They appear correctly in the table, but I can't get them to appear on the map when I set their field as a label for the map. ...
Jakub Sypiański's user avatar
1 vote
1 answer
108 views

ArcGIS Field with greek characters lost on export

I have a shapefile that has a field that is string(12) and some rows contain 2 greek characters. When I open the shapefile in ArcMap or ArcGIS Pro and select export data, all the rows that contain the ...
John Deligiannis's user avatar
0 votes
1 answer
50 views

Osmosis merge UTF-8 encoding issue

I am trying to merge together two .osm XML files using Osmosis from CLI. In the XML files there is some public transport data (like bus stops) and some of them have an apostrophe (') in their name (as ...
Gabboxl's user avatar
0 votes
0 answers
69 views

Single quote in OGC API Features request

Using a value containing a single quote character results in an empty feature array even there are features containing that value. OCG WFS keyword-value pair encoding specification talks about URL ...
geraldo's user avatar
  • 960
1 vote
0 answers
121 views

Is there a standardized platform agnostic URL scheme to encode a geolocation?

Are there platform-agnostic URL Schemes like the geo URI scheme (https://en.wikipedia.org/wiki/Geo_URI_scheme) that are supported across all the major OSs and browsers? PS: I came across the geo URI ...
txtr's user avatar
  • 11
1 vote
0 answers
136 views

Database encoding information provided by QGIS is wrong (windows-1252 instead of UTF8)

I have a PostgreSQL (13.9)/PostGIS (3.1.1) layer in a QGIS project (tested on 3.16, 3.20 and 3.22 with same results). The actual database encoding is UTF8, but the "Information" tab in the ...
swiss_knight's user avatar
  • 9,776
0 votes
0 answers
83 views

Problem displaying Hebrew-language in Attribute tables (ArcMap 10.2)

Recently I migrated my ArcGIS project unto a new computer, both PCs using the ArcGIS Desktop ArcMap 10.2 software. The databases and projects are in Hebrew. However, when I came to open the attribute ...
R.M.'s user avatar
  • 1
1 vote
1 answer
53 views

Ogr2ogr from Oracle to PostgreSQL transforms umlauts to non-umlauts

We use ogr2ogr to dump data from an old production Oracle server to a development PostgreSQL server. From developer Windows laptop everything works as intended, but from a Windows server the umlauts (...
Levitating banana monkey's user avatar
1 vote
1 answer
571 views

Encoding issue while making GeoDataFrame from shapefile using URL

The dataset I want to use have some special characters like ü, õ, ö, ä. which cause encoding issue. The below example runs totally fine and doesnt mess up those characters. gdf_local = gpd.read_file(r'...
SpatialAnalyst's user avatar
5 votes
1 answer
1k views

Converting shapefile with Windows-1252 encoding to UTF-8 for QField

When packaging a QGIS project for QField using QFieldSync plugin, I get the following error: Layer does not use UTF-8, but "windows-1252" encoding.Working with layers that do not use UTF-8 ...
Oisin's user avatar
  • 1,656
2 votes
0 answers
788 views

Keep the encoding to UTF-8 in QGIS 3.22 when using tools in the Qgis toolbox?

Is there any equivalent to this setting/data source/option in QGIS 3.22. I would like to have the default encoding of UTF-8 (right now it change the files into windows1250 when running tools in the ...
Kristina's user avatar
1 vote
0 answers
228 views

Ignore shapefile encoding on newest QGIS version

Where can I find the Ignore shapefile encoding checkbox on latest QGIS versions? It used to be on settings > data sources, but it isn't there anymore. It is a very handy option for non-English ...
Calleros's user avatar
0 votes
0 answers
203 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 ...
weeix's user avatar
  • 111
0 votes
0 answers
195 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 ...
Roman Dostál's user avatar
0 votes
1 answer
71 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 ...
geogrow's user avatar
  • 1,643
0 votes
0 answers
115 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 ...
sn1ks's user avatar
  • 2,862
1 vote
0 answers
307 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 ?
PGeo's user avatar
  • 169
4 votes
2 answers
898 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 ...
geofee's user avatar
  • 631
2 votes
2 answers
323 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 ...
Cookie's user avatar
  • 355
0 votes
1 answer
116 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.
Comrade Che's user avatar
  • 7,084
0 votes
1 answer
113 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-...
Rodrigo's user avatar
  • 772
3 votes
0 answers
160 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 ...
Mozhgan Chamani's user avatar
3 votes
1 answer
1k 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 ...
Olha Marinich's user avatar
7 votes
0 answers
2k 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 ...
Mauno Aho's user avatar
3 votes
1 answer
154 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 ...
aurel_nc's user avatar
  • 612
2 votes
1 answer
2k 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....
datasciencebegginer's user avatar
0 votes
0 answers
54 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 ...
infinitejost's user avatar
0 votes
0 answers
58 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 ...
jweisbaum's user avatar
0 votes
1 answer
442 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 ...
AlonTAU's user avatar
  • 21
1 vote
0 answers
405 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 ...
David H. J.'s user avatar
0 votes
0 answers
123 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 ...
psamsonov's user avatar
0 votes
1 answer
997 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 ...
Raffi_A's user avatar
  • 55
1 vote
1 answer
682 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 ...
Sara's user avatar
  • 401
3 votes
0 answers
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 ...
LAT's user avatar
  • 559
6 votes
1 answer
414 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.
Devenepali's user avatar
1 vote
1 answer
4k 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 ...
Costa.Gustavo's user avatar
1 vote
0 answers
465 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 ...
DHKim's user avatar
  • 11
0 votes
1 answer
874 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 ...
Gary Lester's user avatar
1 vote
2 answers
448 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 ...
Nono's user avatar
  • 463
0 votes
0 answers
407 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 ...
Marc Compte's user avatar
0 votes
1 answer
418 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 ...
Mesa's user avatar
  • 1,482
1 vote
1 answer
393 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 ...
Daniel's user avatar
  • 2,433