Questions tagged [copy]

An imitation or reproduction of an original.

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

Add/paste features to PostgreSQL table

I have a PostgreSQL database with several tables. One of them is a non-geometry table that is linked to other geometric tables. I am now trying to copy/paste data from a .csv file to this non-geometry ...
user avatar
  • 1
1 vote
1 answer
24 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....
user avatar
  • 37
0 votes
1 answer
45 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 ...
user avatar
  • 3,564
4 votes
1 answer
64 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 ...
user avatar
1 vote
1 answer
55 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 ...
user avatar
0 votes
1 answer
72 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 ...
user avatar
1 vote
1 answer
46 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 ...
user avatar
3 votes
1 answer
59 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 ...
user avatar
  • 233
0 votes
0 answers
33 views

Creating annotation and copying row using ArcPy

I want to create annotation via ArcPy. There are a lot of issue, first of all Esri doesn't expose python command for converting label in annotation. My workflow is: use a template of gdb with empty ...
user avatar
0 votes
0 answers
24 views

Preserve geography when copying features in QGIS [duplicate]

In QGIS 3.16 "Hannover", copied vector features appear near grid 0.0, at coordinate numbers that are the long and lat values. The attribute table with desired fields is updated as expected. ...
user avatar
0 votes
1 answer
134 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 ...
user avatar
2 votes
1 answer
93 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 "...
user avatar
  • 187
1 vote
0 answers
26 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 ...
user avatar
6 votes
3 answers
1k 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 ...
user avatar
2 votes
1 answer
114 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 ...
user avatar
1 vote
1 answer
48 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 ...
user avatar
5 votes
1 answer
84 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 ...
user avatar
3 votes
1 answer
241 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 ...
user avatar
2 votes
1 answer
107 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 ...
user avatar
  • 63
1 vote
1 answer
116 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 ...
user avatar
5 votes
1 answer
108 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 ...
user avatar
  • 51
3 votes
1 answer
159 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 ...
user avatar
  • 571
0 votes
1 answer
69 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 ...
user avatar
  • 3,962
0 votes
1 answer
51 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 ...
user avatar
  • 15
0 votes
1 answer
44 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 ...
user avatar
  • 145
0 votes
0 answers
30 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 ...
user avatar
0 votes
2 answers
70 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.
user avatar
0 votes
0 answers
17 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 ...
user avatar
1 vote
0 answers
29 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 ...
user avatar
  • 301
1 vote
1 answer
106 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 ...
user avatar
  • 81
1 vote
0 answers
111 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 ...
user avatar
0 votes
1 answer
51 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 ...
user avatar
  • 41
3 votes
1 answer
192 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 ...
user avatar
  • 51
1 vote
1 answer
40 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 ...
user avatar
  • 65
4 votes
1 answer
144 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 ...
user avatar
  • 2,197
1 vote
0 answers
17 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 ...
user avatar
0 votes
0 answers
83 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 ...
user avatar
  • 233
2 votes
2 answers
203 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 ...
user avatar
  • 1,385
4 votes
2 answers
992 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 ...
user avatar
  • 2,079
1 vote
0 answers
45 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 ...
user avatar
1 vote
0 answers
83 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 ...
user avatar
2 votes
0 answers
45 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 ...
user avatar
3 votes
1 answer
255 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 ...
user avatar
  • 129
1 vote
1 answer
60 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","...
user avatar
  • 21
1 vote
2 answers
229 views

Copying shapefile to Feature Dataset using ArcPy?

How do I copy a shapefile to a Feature Dataset? Here is is my script. import arcpy import os arcpy.env.workspace = "C:/temp" dataset1 = "C:/SDE.gdb/temp1" arcpy.CopyFeatures_management("scrap....
user avatar
1 vote
1 answer
159 views

Copy Table Failing with ERROR 000732 in ArcPy?

Very new to Python. I am trying to copy between Feature Datasets, Feature Classes, and Tables between two GDBs. Here's my code: The following attempt works when Irfan_FC is a feature class: #Copy ...
user avatar
-1 votes
1 answer
75 views

Tools or Workflow to Copy 1000s of features into another feature class without Copy+Paste [closed]

I have 2055 features I need to copy to another feature class. I created the new feature class with new fields and field order, so it's not a simple "export data" solution. If I select all 2055 ...
user avatar
2 votes
0 answers
508 views

Copying tables results in duplication of some tables, feature classes and relationship classes

ArcGIS Pro 2.2.3. I have a file geodatabase called "supportSource.gdb" with 3 tables, 2 feature classes and 3 relationship classes. I just want to copy the contents of this file geodatabase to ...
user avatar
  • 21.2k
2 votes
2 answers
54 views

Copying only shapefiles which have specific field attribute in another folder using ArcPy?

I have 100 shapefiles that all have 2 fields in common called Type2017 and Type2018. The whole of the fields have only one number (1 or 2 or 3). fo example, Type2017 = 1 or Type2018 = 2 I would ...
user avatar
1 vote
4 answers
2k views

Can you move a gdb from one folder to another and keep the files?

I've copied a .gdb folder from a main folder to another and all the files that were created using ArcMap weren't there in the copied folder. Why weren't these weren't moved as well? Shouldn't they ...
user avatar