Questions tagged [copy]
An imitation or reproduction of an original.
167
questions
1
vote
1
answer
115
views
Cannot copy and paste into a layer
I am having a very frustrating problem in ArcMap. (This is all within the one enterprise geodatabase.)
I am trying to copy and paste a feature from one layer to another (similar layers).
I have been ...
5
votes
1
answer
202
views
Cloning the map layer using PyQGIS
I want to clone my generated memory layer and apply different filters and symbology. The clone is visible in the layer tree, but doesn't show up in the canvas. What am I doing wrong?
uri = f'point?crs=...
0
votes
0
answers
82
views
Paste layer and paste style not available in QGIS
Lately I've been encountering a problem with QGIS 3.28.
After copying a layer in the table of contents and right clicking on empty space, I do not have the option to paste the layer. Similarly, ...
0
votes
0
answers
26
views
Copying data from server to my project to prevent broken links and altering original data?
I recently started at a new company and am working on updating their trail maps. The GIS database that I have inherited is quite the mess. I am using ArcGIS Pro and I keep running into broken data ...
11
votes
1
answer
786
views
Copying & pasting multiple values from one feature to other features in the same layer in QGIS
I have added some features to my layer and want to copy-paste certain values from certain columns to the newly added features.
Have a look at the image. The values of the feature at the bottom should ...
3
votes
1
answer
146
views
Activating two layers at the same time with PyQGIS
I want to copy-paste values from one feature in a layer to another feature in another layer, for this, I like to have both layers activated to be able to select features from both layers.
Just as an ...
1
vote
0
answers
115
views
Paste features to new location in ArcGIS Pro
In ArcGIS Pro, when you paste an element from the clipboard, it will automatically appear at the same coordinates as the originally copied element.
Is there a way to paste a feature at the coordinates ...
5
votes
1
answer
164
views
QgsCoordinateTransform causes crash in processing script
I want to perform a QgsCoordinateTransform on a QgsGeometry object and do some operations on this afterwards. I am doing this in a processing script and am getting the original QgsGeometry object from ...
0
votes
1
answer
243
views
Arcpy.CopyFeatures_management creates empty feature class
I am trying to iteratively copy selection layers to new feature classes. My script successfully creates the new feature classes, but they are empty. Can anyone point out what I'm doing wrong?
arcpy....
7
votes
2
answers
537
views
Copying layer styles using PyQGIS
The following two commands copy and paste layer styles of manually selected layers. Manually as in clicking on the layers you want to copy from and to.
iface.actionCopyLayerStyle().trigger()
iface....
1
vote
1
answer
84
views
How to auto populate fields when copy/pasting objects QGIS (3.22.9)
I have a point layer with 3 columns (all strings) with values looking like this:
name; C_No; F_No
123_SF_24; 123; 24
The values of the last two columns are supposed to be derived from different ...
1
vote
1
answer
964
views
Saving selected features as new layer using ArcPy
How can I save selected features to a new feature class?
If I do one of the following commands always all of the features are copied, and not just the selcted ones.
## First select features
arcpy....
1
vote
1
answer
578
views
QGIS copy and move features without attribute
I use the Advanced digitizing toolbar -> Copy and move features tool quote often. The biggest problem I have got is that the content from the data attribute table is also replicated.
Is there any ...
4
votes
1
answer
303
views
Copy PostGIS raster between databases
I want to copy PostGIS rasters - table with columns(rid integer, rast raster) from one PostGIS database (version 2.5) into another db (3.2). In the target Postgis 3.2 DB I have the postgis_raster ...
1
vote
1
answer
227
views
Prevent deleting files in output folder
I am trying to transfer shapefiles by the number of shapefiles from one folder to another, But I want to keep the already existing files in the output folder. Is there any way? I am using the ...
0
votes
1
answer
258
views
Copying features from one layer into another in PyQGIS using addFeatures
I am writing a plugin for QGIS 3.8
I have two layers,
drop_layer and
Fibre Cable.
I want to copy all features from the drop_layer and append to Fibre cable layer.
I use a function to create ...
1
vote
1
answer
202
views
Copy attachments from one gdb to another
I have two GDB files with similar data at the attrib but slightly different geometry. However, one has an attachments of photos and one does not. I would like to copy the attachments from one to the ...
3
votes
1
answer
178
views
Copying template of circles and putting them on new position by mouse click
I am looking for a way to copy some circles (see at picture) and put them on a new position by a mouse click. Most likely I would like to copy the circle with the different color of lines but the one ...
1
vote
1
answer
1k
views
How to, if possible, copy data from an ArcGIS REST Service?
I do not believe this is a copy of Download Dataset From ArcGIS REST Service or Extracting data from ArcGIS REST endpoint? due to the source and type of service.
I would like to copy the features from ...
4
votes
1
answer
506
views
Errors when copy from shapefile to PostgreSQL using ogr2ogr
I am trying to upload data of MULTIPOINTS for listed buildings in Wales in shapefile format to a PostgreSQL database I have run the command below:
ogr2ogr -progress -update -append -f PostgreSQL "...
1
vote
0
answers
83
views
QGIS QFieldSync project cannot copy layers in config settings
In this one particular project which I tried to recreate from another project that will not sync with QField but just crashes QGIS. When I try to configure the project for QField packaging I only see ...
7
votes
3
answers
5k
views
Copying coordinates under mouse to clipboard in QGIS
I need a way to quickly copy coordinates under mouse to paste them to external program (3D reconstruction software I use for making maps from photos).
I see the coordinates within status bar at bottom ...
2
votes
1
answer
374
views
Precise, Multiple Copy and Paste of Polygons in QGIS
I need to layout parking spaces in QGIS. The spaces are diagonal.
Is there a way in QGIS to copy a given polygon "Y feet up" and "X feet over" say 10 times?
Example:
Need to take ...
1
vote
1
answer
112
views
Stop arcpy.CopyFeatures_management from adding copied feature classes to TOC
I've written a script that copies several feature classes to a new file gdb. Unfortunately CopyFeatures_management automatically adds the new feature classes to the TOC.
Is there a way to suppress ...
5
votes
1
answer
2k
views
Copying columns from one layer to another in QGIS
In QGIS 3 I couldn't find any suitable answer for my struggle. I have two layers with different objects (buildings from different areas). I want them to have same columns, but creating one by one is ...
3
votes
1
answer
902
views
Copying legend in QGIS Map layout
I am creating a map where I have many legend items. Initially, I divided them into two columns but now I want to separate them. When they were together I have customised font size, style etc.
I can ...
2
votes
1
answer
169
views
Copy multiple shapefiles that intersect a polygon to a new location
I am trying to select and copy shapefiles from one folder to a new location based on if they intersect a polygon feature class. I am getting stuck in somewhere in the for loop.
EDIT: The goal is to ...
1
vote
1
answer
1k
views
ArcPy: Selecting feature class by attribute then copy selection to new feature class [duplicate]
Using ArcPy I want to make to do a selection on a feature class by field to select everything 0.1 or greater, then copy the selection to a new feature class.
However, the output of my following code ...
5
votes
1
answer
130
views
Copying all visible layers to new group
I would like to copy all visible layers in a project to a new group. Does anyone know of a quick way of doing this?
Background:
We have a Project that acts as a library for all the spatial data we ...
3
votes
1
answer
286
views
QGIS algorithm to copy vector layer with only selected fields
I am trying to find out if there is a way - or even an algorithm in QGIS - that enables you to effectively create a new feature layer that is a copy of an original layer but with only a selection of ...
0
votes
1
answer
141
views
Copy/Paste image Element in ArcPy 10.3
I seeking a way to copy/paste an image in the layout with python code.
I saw this documentation: https://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/pictureelement-class.htm but didn't ...
0
votes
1
answer
96
views
ArcPy preventing copying files using Transfer Files tool
I am using ArcPy to calculate some areas in polygons.
At the end of my code, I want to copy my final files over to a DropBox folder using the Transfer Files tool. The following code moves the files ...
0
votes
1
answer
52
views
Incremental trace number when features are copied
With QGIS 3.12, can I copy and move feature and give the copied feature a tracing Id number ?
For example, I have a tree with a numeric field (Tree number) 1,2,3 etc.
When I copy the tree, I want ...
0
votes
0
answers
44
views
When copying information into another layers attribute table objects turn invisible
When I try to copy the information of one layer into another via attribute tables the data is shown in the table but it's not visible (when I push the button in the attribute table to show only ...
0
votes
2
answers
264
views
Exporting feature class in one shapefile to new shapefile using ArcMap
In ArcMap, how can you export the feature class of one shapefile to a new shapefile?
I want everything in the old shapefile to go into the new shapefile.
0
votes
0
answers
26
views
Bad layers in QGIS 3.4 after copying a template folder into a new project folder
I am working in QGIS 3.4.4. We have a template folder for all our QGIS maps. We then copy this folder into a new project folder and edit from there. One of the template maps uses a number of ...
1
vote
0
answers
35
views
Why is an original ArcMap-project twice as big as its copies?
I'm currently working with ArcMap 10.7. Therein, I regularly do File > Save a Copy of an existing ArcMap-project to create a copy for another ArcMap version. However, the file size of the original ...
1
vote
1
answer
250
views
saveACopy in ArcPy, failed to save document
I have a script that saves a copy of the current .mxd to a location given to the script by a user. However I keep getting an error that says it failed to save the document.
I have writing rights in ...
1
vote
0
answers
234
views
Ignore background value
I'm using Copy Raster (Data Management) function. I need to ignore background values which are = 0 but keep all pixels =0 that are inside the raster.
background_value should do it, however it does ...
5
votes
3
answers
930
views
Copying feature between layers with PyQGIS [duplicate]
With PyQGIS I am having trouble programming how to copy features between layers.
Goal: from a robust layer (with more fields) copy its features to a 'simple' version layer.
from qgis.core import *
...
0
votes
1
answer
97
views
Copy FGDB from folder to another folder in Python 3 without ArcPy? [closed]
I found this code here. first time I ran it, it copied my file to another folder but for second time nothing happened. Even I didn't get error in Jupyter Notebook.
#Move GDB to G: for your project's ...
3
votes
1
answer
312
views
Copying set of points perpendicular along polyline
I have a polyline which represents the middle of a river. Perpendicular to this polyline there is a layer with a set of points. These points all have an "X" and "Y" coordinates as well as a height ...
1
vote
1
answer
474
views
Changes made to shapefile
If I take a Natural Earth shapefile and delete all countries except one - This will affect that original shapefile. Can I take that shapefile duplicate it and use that shapefile to delete all ...
4
votes
1
answer
311
views
Copying attributes from many columns to one in QGIS
I have many columns, about 30 and each of those has some attributes. I want to merge those columns into one and collect all attributes in a row of columns. I tried with this post Combining Columns ...
1
vote
0
answers
19
views
Copying Features from multiple sources
I'm new to Python and trying to automate copying specified features from a bunch of nested geodatabases into a new geodatabase- script seems to work ok, except for the copying features part (the 2 ...
0
votes
0
answers
166
views
Copy features from a SQLite multipolygon to SQLite polygon layer
I need to copy features from a multipolygon layer that contains multipart features into a polygon layer in SQLite in QGIS. I know I can run the "Multiparts to Singleparts" algorithm and simply copy ...
2
votes
2
answers
568
views
Copying feature from one layer while mapping fields in QGIS?
I am trying to copy features from one layer to another. What I would like to do is for QGIS to ask me which field should each field copy to.
For example, layer A has 4 features that I am trying to ...
5
votes
2
answers
2k
views
Copying and pasting features using PyQGIS
I have created a table join between two shapefiles which I've named 'OSMM' and 'Mastermap'. I want to copy and paste all features (polygons) without a match from the target layer ('Mastermap') into ...
1
vote
0
answers
58
views
Selecting line inside polygon and copy attribute into them
I'm using QGIS 3.6.
I've got around 300 polygons with "name" field.
I would like to select lines inside those polygons and copy what's inside of "name" field into similar field of every line that is ...
1
vote
0
answers
156
views
How to copy all files with extension type to a folder? [closed]
What is the best way to go about this? I'm able to do it with a single file as below, but what if I would like to copy all files with .txt to a folder, and all files with .docx to another folder. I ...