Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [text]

Words treated as data by a computer

0
votes
1answer
35 views

Exporting data to a text file using a template

I've build a toolbox in my project environment to plan "Aids to Navigation". The vessel (ship) that does the actual work in the field has a navigation computer that can only import waypoint. These ...
0
votes
1answer
21 views

Write a text file per image with same name in R

In R I would like to create a text file for each picture I have in a folder and with the same name. By example: Picture 1.png - Picture 1.txt Picture 2.png - Picture 2.txt But the text file name I ...
-2
votes
1answer
47 views

Changing fifth line of text using ArcPy?

Subsequent to Changing second line text using ArcPy?, I want to know how can I change the fifth line from 'aaa' into 'plan b' so the result will be: with this code, by using index operator [5] ...
2
votes
1answer
33 views

Changing second line text using ArcPy?

I work with several maps with this text: and i try to change the second line only into "landUse" by using this code: import arcpy from arcpy import env env.workspace = r"G:\desktop\Project" for num,...
1
vote
1answer
17 views

How to change text color in QGIS 3 composer label when render as HTML

I try to set a label with black background, a first line of text in green (exactly rgb(125,185,0) ) and the other line in white. In QGIS 2.18 setting the background black, the font color white and ...
0
votes
0answers
10 views

Save Text Box Template

Is there a way to save a text box's formatting and text so that you can insert it into a map with only a couple of clicks? For example, I have to insert a box that reads "CONFIDENTIAL NOT FOR PUBLIC ...
0
votes
1answer
19 views

How to open a .dem file properly?

I have this DEM file downloaded from the internet. It's a text-formatted file and it looks like this: 1440 720 30 -9999 450 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -...
1
vote
1answer
17 views

Using arcpy.mp to edit TEXT_ELEMENTS with no success

I'm attempting to take a user input in a script tool to modify the text within text elements on a layout. The following is the code I am using: aprx = arcpy.mp.ArcGISProject(r"S:/Initiatives/Mailings/...
0
votes
0answers
24 views

Attach Textarea to Leaflet Draw Rectangle to drag with rectangle

I am trying to revive some of the code of Leaflet-Illustrate: It uses some Leaflet code that I believe is attaching hooks by using this: statics: { START: L.Draggable.START, END: L....
2
votes
0answers
34 views

Getting attribute text error after running tool in QGIS?

I'm Korean, and I used Korean language text in attribute table. I ran Add raster values to points. (input shapefile and raster(aspect)) The tool works well, but result file's attribute table has an ...
1
vote
0answers
13 views

Select by attributes ModelBuilder - text string partial values for parameter

I have a feature class of suburbs that I want to do a select by attribute on the Locality (=suburb names) field, passing a user input string parameter to selection expression. I have the query ...
1
vote
3answers
228 views

Concatenating two columns in ArcGIS 10.2.1: “no records within table”?

I am trying to merge two text columns (consisting of 2 digit and 3 digit numbers respectively) into one in ArcGIS 10.2.1 desktop version, but unable to do so. I have added a new field and kept it as ...
0
votes
1answer
27 views

Texts are smaller when I open project file by another computer

I have made a project with text on map layout. But when I opened that project by another computer, I found the texts are smaller (minus 1 size). How do I solve this problem?
0
votes
1answer
55 views

Static Tables and/or Tabs in ArcGIS Pro Layout

Is it possible to create a non-dynamic/static table in a layout in ArcGIS Pro? I would like to create a table to act as a revision box. If not a table, can text be entered with tabs and tab stops ...
5
votes
5answers
2k 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;...
1
vote
1answer
36 views

Unable to Update Map Element

I'm trying to update my text elements, but after running script no changes occur and no error are triggered. Running suggested code triggered an error. I need to update my title and date text box. I ...
1
vote
1answer
64 views

Textbox downsizes at printing in QGIS?

In QGIS 3.0 the print layout window shows the following: The result after pdf exporting is this: How can I prevent the downsizing?
2
votes
1answer
69 views
0
votes
1answer
64 views

Saving NDVI TIFF file as txt file in ArcGIS Desktop?

I have to use elevation data (dem.tif) and NDVI data (ndvi.tif) as covariates for regression kriging and I want both these files as txt files. How do I do this?
3
votes
3answers
782 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 ...
0
votes
1answer
47 views

Adding serial number text to Layout view using ArcPy?

I have 250 maps (in separate MXD's). In each map, in the Layout view there is "aaa" text. the element name value is aaa. I try to find a way to add serial numbers to each map, so each "aaa" text will ...
4
votes
1answer
119 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?
1
vote
0answers
60 views

Text wrap labels in QGIS 3.2 [duplicate]

In QGIS 3.2, I want to show text labels on a map that are coming from a polygon attribute - easy enough. But I want to have the flexibility to set the wrap text position in a certain space, not just ...
1
vote
1answer
282 views

“Select features by expression” not matching all results for text field?

I have a vector layer containing all of the property parcels in the county. There is a field called "PROP_TYPE" that contains the type of property. I am trying to select all of the residential ...
2
votes
0answers
40 views

What characters are not acceptable in an ArcGIS text field (File Geodatabase)?

Trying to join a table to my feature and it keeps leaving out a field. The field is a legal description of a property, it has all sorts of funky characters: : ; / \ () ' " and more The field is ...
0
votes
1answer
137 views

Change color of top of interstate shield in ArcGIS Pro

I would like to know how to change the color of the top of an interstate shield text symbol in ArcGIS Pro. The default interstate shield symbol is a blue shield with a red top. In the text symbol ...
2
votes
1answer
167 views

Exporting map from composer in QGIS - text labels have moved in output?

I am exporting a map from QGIS. I have some text labels for the title of my map, rendered with html. All looks good before I export but when I open my exported map (I have tried exporting to both ...
0
votes
1answer
3k views

Cannot cast array data from dtype('float32') to dtype('int64') according to the rule 'safe' [closed]

I'm trying to use a script 'format_veg_params.py' that takes geotiff data for vegetation parameterization and converts it to the needed text format for the VIC model (a model that uses remote sensing ...
0
votes
0answers
60 views

Exporting georeferenced text information from a vector layer in QGIS

Translated (Google) "Hello! how do I export and create a new georeferenced text information file from a vector file that contains this information in Qgis 3.0.2? In Arcgis it is possible ...
0
votes
1answer
1k views

Showing FontAwesome Icons on Openlayers

I can't show these icons from FontAwesome: var map = new ol.Map({ layers: [ new ol.layer.Tile({ source: new ol.source.OSM() }) ] , target:...
1
vote
0answers
38 views

Extracting Text Objects from Vector Graphic Software?

Within a Canvas X 2017 GIS file, (an ACD Systems software) I have a number of vector graphics layers, all of which contain thousands of manually entered text objects only conceptually paired with line ...
3
votes
3answers
603 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") ...
0
votes
1answer
101 views

Align text within TEXT_ELEMENT with arcpy

I'm having a tough time aligning text in my text box using arcpy in ArcGIS 10.3. This is my initial text: Now I want to insert some more text to each line and align them vertically. Normally, I would ...
11
votes
1answer
867 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 ...
3
votes
3answers
3k 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 ...
4
votes
2answers
55 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 ...
1
vote
1answer
280 views

Can't specify CRS in QGIS Add Delimited Text layer

Add Delimited Text Layer dialog does not have anywhere to specify the CRS of the data. The layer imports, but defaults to WGS84, which in this case is not correct (it needs to be geographic, but with ...
1
vote
0answers
162 views

Easily convert multiple attribute columns from text to integer?

I uploaded a CSV with WKT polygon coordinates. Each polygon was displayed spatially and I re-saved the file as a shapefile. The problem is most attribute columns are being detected as text, and they ...
5
votes
4answers
6k 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 ...
0
votes
0answers
173 views

ArcMap 10.5 Text Boxes Alignment

I am running a script in ArcMap that will update a text box. Some of the text that I am updating it with wraps to two lines, while others are on a single line. What I want to happen is that regardless ...
2
votes
1answer
106 views

arcpy replace text placeholder

I need to be able to walk through many mxds to replace text strings but able to skip a character place. For example, replace: 'area %d' with 'area %d - this is some other text' output: 'area 2' '...
0
votes
0answers
22 views

Removing multiple occurence of names of attributes while zooming in

I was writing an SLD so that it works with MapServer. The problem I encountered is that there are multiple occurrences of names of attributes while zooming in. Is there a way to correct this? Below ...
1
vote
1answer
84 views

How to select cells with text?

I have point layer with text field. There is many empty field. I want to select only filled text. Something like this, with QGIS:
1
vote
1answer
257 views

Using QGIS query builder

I have only basic knowledge of using SQL code in QGIS. I am trying to use Query Builder to hide some specific line features. I have tried using =! and the id field reference for the particular ...
2
votes
2answers
263 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 ...
1
vote
0answers
808 views

QGIS 2.0: Automating tasks, text files and shapefiles [closed]

Wondering if it's possible to automate some repetitive tasks in QGIS (2.0). This is my general workflow for importing some xyz type text files from another software package which export (not overly ...
3
votes
1answer
258 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 ...
1
vote
2answers
1k views

Hiding specific icons/markers on text generated vector layer

I'm displaying a vector layer with pois, generated from a text file: lat lon icon iconSize iconOffset title description 56.030325 14.4774116666667 http://www.medinsbiologi.se/hano/Foto....
1
vote
1answer
135 views

Using field calculator to change domain type

I have a table with a bunch of domains, and a table with the information needed to populate the domains. I joined the two, but the table of information is populated as text. I need to be able to ...
1
vote
1answer
115 views

Text in Google maps displayed as blocks in Chrome

Any idea why this is happening in Google maps while using Chrome? I can see the text display but then the text changes to blocks when it finishes rendering. I'm using Chrome Version 54.0.2840.90 (64-...