Questions tagged [text]

Words treated as data by a computer

Filter by
Sorted by
Tagged with
12 votes
2 answers
19k views

Updating text column of selected features in QGIS

Let's say I have a bunch of postcodes. After making a selection and having the records highlighted in the attribute table, how to update all of them and give them the same category? In ArcGIS, after ...
Luffydude's user avatar
  • 2,308
11 votes
1 answer
6k views

Adding text fields with more than 255 characters?

I'm working on a QGIS project where I have few shapefile layers with text fields. I would like to add whole paragraphs as descriptions to the text fields, however the fields are limited by their ...
escplat12's user avatar
  • 793
10 votes
3 answers
786 views

Sorting text column by numbers with letters

I have a text column. It's made up of the numbers 1, 2, 3 up to 1650, which are currently not in increasing order. However, it also includes text such as 520a, 639a, 639b, 639c. Sorting on increasing ...
Alasdair's user avatar
  • 101
10 votes
4 answers
6k views

Getting ArcGIS to include leading zeros in text field

I am entering characters in a text field that is essentially a 5 number "ID". I need leading zeros to be included in the value, but every time I enter or calculate the field, the leading ...
CJSF's user avatar
  • 103
9 votes
1 answer
861 views

QGIS - is it possible to convert accented characters to regular ones in attribute table? [closed]

I have OSM dataset containing names with national characters (this is CSV export, but I have it in SHP): osm_id,code,fclass,population,name,longitude,latitude 276645544,1003,village,221,Krč,14.248410,...
Juhele's user avatar
  • 1,738
8 votes
2 answers
344 views

QGIS Python API set label color based on attribute field

I'm trying to set the text label color and size based on the attribute table. I got the size setting correctly but not the color. My current result looks like this (The symbol has been set to be ...
Zekun's user avatar
  • 327
7 votes
2 answers
173 views

Getting my expression to process the text in field

I am building an expression, whose function is to return True if a characteristic is selected. The expression requires two arguments, the Feature and the name of the layer. If I enter the name of the ...
Luis Perez's user avatar
  • 1,284
7 votes
1 answer
1k views

Methods for geotagging/displaying text documents

I'm wondering what methods folks are familiar with for geotagging/displaying text documents, or the text from a document. For example, it's easy enough to geotag a photo and display it in ArcGIS or ...
David Meek's user avatar
7 votes
3 answers
15k views

Getting text to center in a label expression

Is there an expression that can be entered in the label expression that will force text to center? Such as the ones used to change case/replace/etc.
StephanieL's user avatar
7 votes
1 answer
7k views

"No Root Node! Parsing Failed?" error when re-coding some text using QGIS Field Calculator

I am attempting to re-code some text data in the attribute table using the QGIS Field Calculator tool, but I keep getting an error message: An Error occured while evaluating the calculation string: &...
Justin Kray's user avatar
7 votes
1 answer
282 views

Using Arabic labels in QGIS

In QGIS 3.30 I am trying to render labels in Arabic. When I turn on the labels, the Arabic text appears mirrored compared to how it is correctly written in the attribute table. Does anyone have any ...
Federico Gianoli's user avatar
6 votes
6 answers
5k views

How to create multiple QGIS layers from multiple text files?

I have a few hundred txt files (each representing a line of a river bed profile) that I need to load as (point-) layers in QGIS. Partial example: 4504764.8331;5374251.3024;397.8871;2 4504764.7761;...
MapEngine's user avatar
  • 995
6 votes
4 answers
10k views

Exporting attribute table to text file(.txt) in ModelBuilder

I'm having trouble exporting directly an ArcGIS attribute table to a text file (.txt) while I'm working in ModelBuilder. I tried the followings and none of them worked: Copy Rows tool: I tried to add ...
mattcp2's user avatar
  • 71
6 votes
1 answer
560 views

SVG trouble in QGIS

I am having some issues using some SVGs that I have created in Inkscape. I am trying to use them in QGIS but they're not displayed properly. This: is how the SVG looks like in Inkscape and how it ...
alex667's user avatar
  • 61
5 votes
4 answers
9k views

Creating transparent text (watermark) in ArcGIS for Desktop?

I am trying to insert a watermark into a map using ArcGIS. As you can see from the screenshot, I have the text in place, although I need to make the text transparent (e.g. 50% transparency). I used "...
Aaron's user avatar
  • 51.7k
5 votes
2 answers
267 views

How to curve text in QGIS layouts

I am wondering if there is a way to curve text inserted as text boxes in QGIS print layout. I am familiar with how to curve layer labels. But in this case, I want to curve text that is not tied to any ...
André's user avatar
  • 51
5 votes
1 answer
2k views

Line spacing at print composer

I'm using a text box in the print composer (QGIS 2.16). If I write more then one line, how can I set the line spacing between the lines?
Katharina's user avatar
  • 143
5 votes
1 answer
2k views

Change font size of all labels print composer

I have to print a map in A0 paper size and also in A3. First I completed the job for the A0 size map, then I duplicated the print composer and I am changing the fonts of attribute tables and label ...
Pitheas's user avatar
  • 741
4 votes
3 answers
355 views

Adding letters, spaces, and removing parts of attribute string in QGIS

I have an attribute of the form: 12-06-065-03 W4M and would like it in the following form: LSD-12 SEC-06 TWP-065 RGE-03 MER-4
MJM's user avatar
  • 975
4 votes
2 answers
304 views

Converting numerical categories to text label in QGIS

In QGIS I have a smallish dataset with around 8k cells in. Each cell has a number of attributes including a code for land surface cover (an integer between 0 and 12). I have a list of labels that go ...
Will's user avatar
  • 165
4 votes
3 answers
2k views

Writing ArcPy cursor results to text file?

I don't know how to write the result in a text file, can anyone help me? import arcpy rows = arcpy.SearchCursor("E:/Arcgis/lx.gdb/WuChangJieDaokou_onlyweight", "", "", "", "VEHICLEID A; TIME A") ...
Girl's user avatar
  • 71
4 votes
2 answers
1k views

CSV text files loading error / crash in QGIS 2.18.8

I got a problem when I try to load tab-separated text files in the "Create a layer from the delimited text file" tab (that one with de comma symbol). After normally selecting the X and Y fields and ...
Ramiro Dário Melinski's user avatar
4 votes
2 answers
634 views

Obtaining date data from layer name in QGIS

I have a column with name of the satellites image background (Landsat, Sentinel), in this name I have a date information into the text. How do I extract the date data from this text?
Newton Monteiro's user avatar
4 votes
1 answer
1k views

Write ogrinfo result to text file

I have obtained a desired value from a dataset using: ogrinfo input.shp -dialect SQLite -sql "SELECT SUM(field) from input The ogrinfo command prints the desired value via the command line when I ...
geoeye's user avatar
  • 432
4 votes
2 answers
5k views

OL3 the text is incorrectly aligned

Using OpenLayers3 I have observed an incorrect alignment of the text when styling the features of the Cluster source. Also the baseline of the text appears to be ignored. The below code sample (or ...
Boro's user avatar
  • 205
4 votes
1 answer
376 views

Changing the justification of legend symbol text set from "set labels from expression..." in QGIS

In QGIS, I have a polygon layer with several text column attributes. I am theming on one, but want the text of another column to show up in the legend. I have successfully populated the text column ...
Jarrod Brown's user avatar
4 votes
1 answer
159 views

Сhanging pop-up font size in qgis2web

I have a lot of info in QGIS2WEB pop-ups and would like to make the font size smaller to make the text easier to read. I have checked all exported files, and the only instance referencing the pop-ups ...
OnceUponATime's user avatar
4 votes
2 answers
538 views

Regular expression delimiter for text file in QGIS 3

I have a text file containing coordinates but also comment lines such as : #file description #description point 1 id1 X1 Y1 Z1 #description point 2 id2 X2 Y2 Z2 and I want to import this file in ...
dmjf08's user avatar
  • 1,263
4 votes
2 answers
2k views

Create polygons per ID from txt file (ArcPy)

I am writing a script that can take a .txt file as input and as output has a shapefile containing polygons to be used in ArcMap. My input looks like this with points at each vertex of a polygon, and ...
Tins's user avatar
  • 506
4 votes
1 answer
4k views

What is the best FME Transformer for Text search and replace in attribute fields

I have a number of feature classes which have fields containing text which has somehow become improperly encoded. The fields contain german text which should be either ä, ö, ü, ß but instead contains ...
Robert Buckley's user avatar
4 votes
2 answers
357 views

QGIS 2.14 Composer incorrectly renders svg text position

I just noticed that SVG rendering in composer since upgrade to QGIS 2.14 is incorrectly handling some text placement. I have an SVG compass rose, which was rendering fine before upgrading to 2.14 (...
ZanStrausz's user avatar
4 votes
1 answer
4k views

Can one convert text annotations to a layer in QGIS?

I know text annotations can be turned on & off with Ctrl+T... but is there any way to export them as a layer?
dez93_2000's user avatar
  • 1,079
4 votes
1 answer
123 views

Proper font size for each paper size for reader to be able to read names?

I am working on a project that I need to figure it out how or what font size for each paper size. There are 10 of them and two of them are in the same paper size. There is data frame I have set aside ...
PROBERT's user avatar
  • 4,131
4 votes
2 answers
117 views

Override typographic ligatures in QGIS labels?

For one of my label layers I am using a font that contains typographic ligatures for certain letter pairs. If I increase the letter spacing in Layer Properties, the ligature is retained as a single ...
Nathan's user avatar
  • 1,304
4 votes
0 answers
64 views

QGIS find the CRS of a map grid with map_get

When mapping with QGIS I normally have the main map grid (typically an appropriate UTM zone) as the project CRS. I also often have a secondary grid with more subtle markings displaying as Lat Longs ...
Campbell Smith's user avatar
4 votes
1 answer
205 views

"Layer is not valid" error when importing UTM delimited text layer into QGIS

I'm trying to import a small delimited (tab separated) text into QGIS. The coordinates are in UTM format. Sample data: id N E PT-001 7237229 146872 PT-002 7237230 146897 The first column contains ...
Rodrigo's user avatar
  • 782
3 votes
3 answers
1k views

Creating polygon from 2 txt files (Parent ID + Coordinates) using ArcPy?

I want to create polygons based on two separate text files: the first one (as parents) lists the Polygon ID (ID_el) and three to four Points ID (IDpt1, IDpt2, IDpt3..) the second contains the Points ...
PMessager's user avatar
  • 407
3 votes
2 answers
1k views

How to count text values

My issue is to count text values from vector layer. I got a layer with streets for one of administrative region and it's names in column. It looks like this Id Street_name XYZ XYZ ABC XYZ . . . ...
muszynov's user avatar
  • 647
3 votes
2 answers
1k views

Splitting a string and extracting the numbers

I'm using QGIS and i have an attribute field that contains several compacted info such as "aaa1-bbb2-ccc3" and i want to extract those three different numbers into new fields .. so far i have managed ...
AsdAsd's user avatar
  • 489
3 votes
1 answer
133 views

Field calculator won't let me add numbers from an integer field into a text field

I'm trying to field calculate a text field & add digits to it from a 32 bit integer field, by using the expression "ID"+"Fiber Capa" in QGIS 3.28. But the error message An ...
C. Scholze's user avatar
3 votes
1 answer
1k views

How to Import the geometry/feature collection which is in GeoJSON format into Google Earth Engine?

I have a GeoJSON file. I have opened it in Sublime Text Editor How can I import it in Google Earth Engine?
Prasad Thota's user avatar
3 votes
2 answers
430 views

What is the best plain text format for georeferenced raster data?

I have to translate satellite images in a file in .txt format or another, such as Excel or .csv, in which there are pixel values corresponding to (longitude,latitude) couples. What is the best file ...
B.O.'s user avatar
  • 309
3 votes
1 answer
72 views

Setting image as font filling in QGIS

Is it possible to use an image as a label font filling to have a result like in the following examples with national flags?
SirB1's user avatar
  • 185
3 votes
1 answer
2k views

Drawing text, callouts, rectangles, etc in QGIS

In ArcGIS Desktop, you have a specific toolbar for adding text/ drawing rectangles, circles, ... / adding callouts (see screenshot), which I use very regularly. However, I am switching to QGIS 3.4, ...
samieboy_6_'s user avatar
3 votes
1 answer
819 views

Arrow shape with text in it

I have been trying to solve this for hours and I haven't found a way to do it. I am working with the print composer on QGIS 3.4 to design a map and I just want to add an arrow with some text inside, ...
BlueSombrero's user avatar
3 votes
1 answer
298 views

Add DXF text to shape as attribute

I have a DXF with text and I have a shapefile with some squares. Is it possible, in QGIS, to add the text from the DXF to a new column in the shapefile?
Erik Kooistra's user avatar
3 votes
1 answer
668 views

How Do I Open Grid Text Files?

I've received wind speed data in grid text format and I have no idea how to open it in QGIS. Please go easy on the computer jargon, I'm no computer scientist.
James B's user avatar
  • 2,139
3 votes
3 answers
9k views

OpenLayers 3 Style - text label with size not depending on scale

I try to label polygons from a WFS-Source with an attribute. This works fine, but my problem is that the size of this label is scale depending. It has the same size on every scale. But i want it to ...
Astrid's user avatar
  • 139
3 votes
2 answers
3k views

Shapefiles *.dbf data, encoding problem

I have to work with the Shapefiles, and all is fine except data in *.dbf When I have first deserialized file, I have thought, that I'm doing smth wrong, but when any soft like (QGIS, SAGA, ESRI ...
user avatar
3 votes
1 answer
224 views

Exporting large txt file as point shapefile in QGIS

I have a large txt file with 10 million rows and 16 columns and I already have imported the table as a delimited text file in QGIS. In row 7 and row 8, the coordinates are stored (I also allocated x ...
Kevin_S2021's user avatar

1
2 3 4 5