Questions tagged [element]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
65 views

How can I make an unique symbol when I have more than one element in the same coordinate?

I'm trying to map in QGIS with symbols. I'm georeferencing fruits in the same point. For example in a same place (equal coordinate) I have identified three different fruits. So in my Excel I have ...
user avatar
  • 21
0 votes
1 answer
109 views

Removing elements that cut other elements using QGIS

I have line elements and polgone-elements on two different layers (lets say layer A (line) and layer B (polygons). Now I want to remove all elements of layer A that crosses/touches/laying in polygones ...
user avatar
1 vote
0 answers
123 views

Dynamic text colour in ArcGIS Pro Table Frame

Has anyone figured out a way to alter the text properties (colour, boldness, font, etc.) of a table element based on a specific property in ArcGIS Pro? For example, I want to add tables to a layout in ...
user avatar
0 votes
1 answer
114 views

Deleting Picture Element using ArcPy in ArcGIS 10.3 Desktop?

I'm trying to delete a Picture Element from 45 MXDs. This code is a start for me: import arcpy from arcpy import env env.workspace = r"G:\PROJECTS\landuse\gis" for mxdname in arcpy.ListFiles("*.mxd")...
user avatar
  • 3,984
1 vote
0 answers
279 views

Subsetting rasterstack for subtraction between elements using R?

I want ro calculate the differences between rasters within a raster stack with a certain step, and I am unsure how to do so. What I want is to subtract every element from its 5th next one, something ...
user avatar
  • 186
1 vote
2 answers
67 views

Altering text elements in multiple mxds?

I am trying to make changes to titles on multiple mxds instead of having to open 1 by 1 but keep getting an error. import arcpy.mapping as mapping, os for root, dirs, files in os.walk(r"F:\Final ...
user avatar
  • 21
1 vote
1 answer
41 views

Text element name not appearing in ListLayoutElements

As in the title, I have the simple below code: import arcpy arcpy.env.workspace = r"U:" mxd = arcpy.mapping.MapDocument(r"U:RAFT.mxd") layoutlist = arcpy.mapping.ListLayoutElements(mxd, "...
user avatar
2 votes
1 answer
67 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 ...
user avatar
2 votes
0 answers
565 views

ERROR 00735: Layer Name or Table View: Value is required Failed to execute

Im trying to create a script that will created two buffer shapefiles using SelectLayerByAttribute, but same error keeps popping up. This tool runs fine in Modelbuilder, but I want to create a script ...
user avatar
3 votes
0 answers
165 views

Why do I get invalid elements (polygons), when smoothing a vector layer (smooth geometry)?

The problem occurs, when using the commands "Smooth geometry" or "v.generalize.smooth" in QGIS. The shapefile, which I want to smooth, shows a flood water level and looks like this: The water level ...
user avatar
1 vote
3 answers
366 views

Ungroup ArcMap Graphic Elements in Layout using ArcPy

I want to alter text elements in a layout. This text elements were grouped. Grouped elements behave like GraphicElement and it is possible to query the property isGroup. I can not alter these text ...
user avatar
  • 1,131
2 votes
0 answers
457 views

Problem with grouping items in print composer- QGIS 2.14

This is print composer: when i group all elements with "group items" and minimize the frame- some items step out from the frame: How can i group all items, and still maintain the same ratio of ...
user avatar
  • 3,984
6 votes
2 answers
8k views

Changing layout element order in ArcGIS Pro?

I cannot find an option to change the order of Layout elements in ArcGIS Pro (1.3.1). This is where you right-click > Order on a map element and choose from Bring to Front, Send to Back, Bring ...
user avatar
  • 29.2k
0 votes
2 answers
769 views

Change text\ font size element using Arcpy

I try to change the font size and the element xy position of text element for several maps. Right now the font size is 21.79 and the xy position is: elm.elementPositionX = 8.204 elm.elementPositionY ...
user avatar
  • 3,984
0 votes
0 answers
39 views

Selecting predefined ArcMap template using ArcPy? [duplicate]

i have managed to create script for search cursor which will replace the text element in one of the template from help provided from my previous question https://gis.stackexchange.com/questions/172544/...
user avatar
  • 23
0 votes
0 answers
22 views

ArcPy-generated string formats badly in map text element [duplicate]

I've got a script that's pulling a bunch of attributes and concatenating the information into a long string. text_description = "Address: {}\n\n".format(dictADDR[key]) text_description += "{} ...
user avatar
  • 8,926
1 vote
1 answer
457 views

Selecting a Graphic Element on button click using IGraphicContainerSelect

I am having trouble type casting and using the right interfaces. I have a function that loops through all text elements with a specific property set. Once a match is found, I want to be able to select ...
user avatar
1 vote
1 answer
690 views

Map Layout Elements In New Layer Automated Using Python

I was wondering if there was a way to put a title and integer data from an attribute table in a new layer created in Python. I was able to create a new layer using copy features, zoom to the selected ...
user avatar
  • 23
1 vote
1 answer
307 views

Is Lock Graphics functionality from ArcGIS 9 ArcScript available for ArcGIS 10.1?

I have created grids and have some layout graphics and I dont want to accidentally move these elements. I found a old script here which does what I want, and I understand that the Production Mapping ...
user avatar
  • 497
0 votes
1 answer
2k views

How to update element text in arcpy.mapping? [closed]

I have a problem updating a map element text (named element1) in a map document using the following code: a1 = '"' + ("element" + str(1)) + '"' for elm in arcpy.mapping.ListLayoutElements(mxd, "...
user avatar
  • 753