Questions tagged [encoding]

The recording or reformatting of data into a computer format.

Filter by
Sorted by
Tagged with
0
votes
1answer
46 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
84 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
84 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
94 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
31 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
253 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
129 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
226 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-...
5
votes
0answers
96 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. ...
1
vote
1answer
68 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
170 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
123 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
206 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 ...
1
vote
1answer
217 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 map. When I ...
5
votes
1answer
206 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
562 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
90 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
160 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
79 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: "...
3
votes
0answers
120 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
406 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
239 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
917 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
416 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
101 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
406 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
62 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
114 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 ...
3
votes
1answer
687 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 different name or it is not supported in QGIS? Please ...
7
votes
0answers
110 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
1k 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
250 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 ...
1
vote
0answers
420 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
125 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
205 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
121 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
415 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
373 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('...
4
votes
1answer
1k 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
2k 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 ...
6
votes
1answer
2k 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
127 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
287 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
100 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
142 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 ...
0
votes
1answer
1k 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
415 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
94 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
111 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
365 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 ...