Questions tagged [text]

Words treated as data by a computer

Filter by
Sorted by
Tagged with
2
votes
1answer
413 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 ...
0
votes
1answer
36 views

Text Disappears After Creation using ArcMap?

I am using ArcMap 10.5. I'm just trying to add some text, and I have no idea why but for the last maybe 30min, after I create them, they just disappear. I have tried other draw features (lines, ...
2
votes
1answer
35 views

Changing part of text with ArcPy?

I try to replace part of text in 23 mxd files from "d" into 'map num: '. The code run without errors, but the result in the maps is only the character "m" instead of 'map num: ' I run this code: ...
0
votes
0answers
54 views

Importing GPS bird tracker text file and i want to display attributes

I am importing GPS bird tracker data with a cut down file consisting of Date/time. Lat/Long. Speed. I would like the points to display with the speed as text. Is this possible, if so how? I'm ...
0
votes
1answer
71 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 ...
0
votes
1answer
29 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?
1
vote
1answer
38 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 ...
13
votes
2answers
13k views

Automatic text wrapping in ArcMap layout text element?

How can I word-wrap a text element on an ArcMap layout, when it contains a lot of text? go into Layout mode choose > Insert > Text paste in a long text block eg lorem ipsum The text block now ...
1
vote
1answer
217 views

Unwanted text over maps [closed]

For some reason one of my attribute tables appears to have created a graphic and is overlayed on my maps. It only happens when zoomed out 1:1,250,000 or more. I have removed all layers to see if it ...
0
votes
1answer
48 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
50 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
37 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
57 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
23 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
22 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
29 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
16 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
256 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 ...
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
88 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
96 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?
0
votes
1answer
76 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
791 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
50 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 ...
3
votes
1answer
131 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
82 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
337 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
45 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
167 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
181 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
73 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
2k 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
39 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
719 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
116 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
995 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
4k 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
59 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
302 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
175 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 ...
6
votes
4answers
7k 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
191 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
111 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
92 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
272 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 ...