Questions tagged [copy]

An imitation or reproduction of an original.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Duplicating features

I have 15 of these stations to draw. I want to draw one with all the valves ect and then copy it 15 times what is the best way to do this? I am using ArcMap 10.8.2 pump stations
Wil's user avatar
  • 1
1 vote
0 answers
29 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 ...
Martin's user avatar
  • 11
4 votes
1 answer
123 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 ...
MrXsquared's user avatar
  • 31.3k
0 votes
0 answers
51 views

DBMS sequence not found during copy of feature class- ArcGIS Pro and SQL

I am copying a feature class from an SDE to a FGDB using data management's Copy. There is a database sequence used in an attribute rule applied to an attribute in that feature class. When connected as ...
digiHUC's user avatar
  • 21
0 votes
1 answer
113 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....
GreggUnited's user avatar
7 votes
2 answers
244 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....
Tobias Lind's user avatar
1 vote
1 answer
43 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 ...
Julia's user avatar
  • 11
0 votes
0 answers
195 views

Error when cloning hosted feature layer

I am trying to clone a Feature Layer (hosted) from one organization to another, but I get the following message saying " There is already an object named 'Veilinjer_2d_2021_01_26". But the ...
gobrandal's user avatar
  • 183
1 vote
1 answer
388 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....
Saelon's user avatar
  • 57
1 vote
1 answer
218 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 ...
Geographos's user avatar
  • 3,771
4 votes
1 answer
169 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 ...
juraj murcko's user avatar
1 vote
1 answer
129 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 ...
Younes Idriss's user avatar
0 votes
1 answer
131 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 ...
Rajesh Patnaik's user avatar
1 vote
1 answer
117 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 ...
O.T _Israel's user avatar
3 votes
1 answer
106 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 ...
lesto's user avatar
  • 297
1 vote
1 answer
493 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 ...
JackOfTales's user avatar
4 votes
1 answer
317 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 "...
user7993425's user avatar
1 vote
0 answers
61 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 ...
cob bailey's user avatar
6 votes
3 answers
3k 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 ...
mefistotelis's user avatar
2 votes
1 answer
235 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 ...
ericOnline's user avatar
1 vote
1 answer
90 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 ...
wunderkind's user avatar
5 votes
1 answer
549 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 ...
Julia Strzyż's user avatar
3 votes
1 answer
502 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 ...
Pulkit Velani's user avatar
2 votes
1 answer
152 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 ...
axman2's user avatar
  • 63
1 vote
1 answer
707 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 ...
Jay Dilla's user avatar
5 votes
1 answer
117 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 ...
J B's user avatar
  • 51
3 votes
1 answer
239 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 ...
TrevP's user avatar
  • 581
0 votes
1 answer
112 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 ...
newGIS's user avatar
  • 4,004
0 votes
1 answer
75 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 ...
jusef's user avatar
  • 25
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 ...
YuvalM's user avatar
  • 377
0 votes
0 answers
37 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 ...
Corinna's user avatar
0 votes
2 answers
163 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.
Programmer888's user avatar
0 votes
0 answers
22 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 ...
Natalie Kay's user avatar
1 vote
0 answers
31 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 ...
stonebe's user avatar
  • 413
1 vote
1 answer
169 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 ...
Remko's user avatar
  • 81
1 vote
0 answers
177 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 ...
user148822's user avatar
5 votes
3 answers
639 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 * ...
Luis Mhula Junior's user avatar
0 votes
1 answer
75 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 ...
Kylie's user avatar
  • 41
3 votes
1 answer
242 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 ...
Taj's user avatar
  • 51
1 vote
1 answer
217 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 ...
213's user avatar
  • 65
4 votes
1 answer
206 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 ...
nagib's user avatar
  • 2,385
1 vote
0 answers
18 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 ...
David Szczebak's user avatar
0 votes
0 answers
136 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 ...
webg's user avatar
  • 253
2 votes
2 answers
347 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 ...
ar-siddiqui's user avatar
  • 1,628
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 ...
James B's user avatar
  • 2,119
1 vote
0 answers
53 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 ...
Paweł Peczeniuk's user avatar
1 vote
0 answers
111 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 ...
Alex Hunter's user avatar
2 votes
0 answers
90 views

Copying vertex coordinates from one line into another with same geometry type

I have the following QGIS version. How is possible to copy the vertex data information from a line into another line? Maybe a certain plugin shall be used for this purpose. The data are 407 points ...
Leonardo Sanchez's user avatar
3 votes
1 answer
330 views

Copy the layer_styles table from one database to another?

I am trying to copy the layer_styles table to another database. A quick and painless process is preferred, to make the movement of the layer_styles tables easy to repeat in the future. I have tried ...
Demus's user avatar
  • 139
1 vote
1 answer
90 views

Adding tile size and compression type for ArcPy code?

I have to add tilesize and compression type to the following code import arcpy arcpy.CopyRaster_management("c:/data/background.tif", "c:/fdgb/CpRaster.gdb/fgdbRD","...
Krishna's user avatar
  • 21