A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [update]

The act or an instance of bringing something up to date.

Filter by
Sorted by
Tagged with
2
votes
2answers
71 views

UpdateCursor for field calculation based on unique values

UPDATE TO PREVIOUS QUESTION: I have an address feature class. I want to use an UpdateCursor that focuses on two fields: StreetName and Block_ID. For every instance of a unique StreetName, I want the ...
0
votes
0answers
25 views

Spatial Join in QGIS and update column

I have a layer of lines and another layer of polygons. I would like to update the lines with the unique reference of the polygon they are within. I am able to complete the spatial process of ...
2
votes
0answers
54 views

Keeping QGIS-projects up to date

Background: We're doing a lot of project work using QGIS. These projects are based on "template"-projects for administrative units, which are always kept up to date, e.g. new WMS are added, newly ...
0
votes
0answers
31 views

Overwriting geopackage with Python

I have a QGIS project file with a few geopackage vector layers. Each of them is stored in its own file. I created the files using Python. Now I am considering updateing the files per script. Can I ...
0
votes
0answers
42 views

Updating table with GeometryFromText of PostGIS

I'm trying to update a column public_geometry in a table by creating a point from longitude and latitude cols from the same table. The database is PostgreSQL with Pgadmin as program to handle the ...
0
votes
1answer
19 views

Updating geomesa record using Geomesa-Accumulo and Spark with Java API?

I have found here how to save data using spark and geomesa accumulo. But I can't find anywhere how to update existing records. I know that Accumulo is under the hood. Accumulo provides data ...
0
votes
0answers
38 views

How often are OSM data in Cesium updated with new OSM data?

When users make edits to OpenStreetMap(OSM), or OSM data gets updated by any other means, how long does it generally take for those edits to show up in Cesium Ion or Cesium Sandcastle? Is this on the ...
0
votes
0answers
40 views

Updating xy fields in attribute table automatically when moving points to new locations in ArcMap?

I work on ArcGIS Desktop 10.3.1 and try to move several points so they are corresponding simultaneously to the coordinates value in the attribute table immediately. I know this question repeats in ...
4
votes
1answer
140 views

QGIS incredibly slow when trying to update large tables?

My point postgresql table has about 500k rows and about 20 columns People have about 5 fields that they update, the other fields are static Selecting the points is fairly instant, however using the ...
1
vote
1answer
30 views

Update a field from a PostgreSQL point table (wherever it's NULL) with certain field value from closest polygon?

Given a point table (table1) and a polygon table (table2) in PostgreSQL, I am trying to update a field from table1 wherever its value is NULL. This field should be updated with a certain field value (...
0
votes
0answers
35 views

Select domain's last update date

I have tables in an Oracle 18c GDB that I integrate to a work order management system. I create views on the tables to translate the data. For example, I translate codes to domain descriptions. I ...
0
votes
2answers
28 views

Update row based on order of parameter

I'm trying to add a field to a created feature class, then create a key based on whether the AccountNo is equal to the imputed Feature1 through 6. For example, if Feature1 is equal to the AccountNo ...
0
votes
0answers
28 views

Update shapefile attributes after update of data source

In a project the data is stored in a relational database (so it could be moved to PostgreSQL) for presentation in a web repository to be presented in diagrams, tables, etc. During the last months ...
0
votes
2answers
102 views

AGOL View layer symbology is not updated when updating hosted feature layer

I have a feature layer called map in AGOL. I want to change the symbology, so I open arcgis Pro and I open this map and overwrite it with new symbols. I see that the feature layer in AGOL is updated ...
1
vote
0answers
59 views

Automatically update records in layer based on changes in another

I am using QGIS and I have two layers the first one is "Reading" layer with the attribute details The second layer is "Reading_History" layer with the attribute details I want to use the expression ...
0
votes
0answers
44 views

Clean update of QGIS LTR on Windows 10

I work in a company that uses QGIS on every computer. We chose to only install LTR versions as a precaution. So when the 3.4 version came out, we launched the installation on every computer. It was ...
1
vote
0answers
93 views

When appending new data (points) in AGOL, the new points dont show up in the map?

So my workflow was: Open csv file in arcgis pro and plotting points on the map Make a feature service and upload it to arcgis onine Added 1 extra row to the csv file with new data. Saved this csv ...
4
votes
1answer
55 views

Updating raster pixel values where they overlap with another raster band

I am trying to replace/update the raster pixel values of band '3' of a Land Cover Map to a new value of '24', but only where these pixels overlap with value '4' of another raster layer. How do I write ...
0
votes
1answer
67 views

Updating z value of geometry using updateCursor?

I am trying to update the Z value of a polygon using update Cursor and it just doesn't work! I have been exploring this site and trying different codes without success. I have a shapefile with ...
0
votes
0answers
16 views

Updating building data?

I need to update a building data (shapes) in ArcGIS Desktop. One Shape is with the buildings of a city from 2012 and the otherone with the buildings of the same city from the year 2019 (perhaps 300....
0
votes
2answers
94 views

Trouble updating field calculatd by st_ functions

I had first run this code on several of my fields of my T1 table at the same time. UPDATE table_1 SET field_1 = liste.my_bool FROM( SELECT T1.id AS name, bool_or((ST_Contains(T2.geom, T1.geom)...
1
vote
2answers
50 views

Transferring Data From One Table to Another Using Multiple Keys in ArcPy?

I have data in one field and I want to transfer it to a specific field in another table based on specific keys Such as ID, road_type and veg_type. My original table looks like this ID Road_Type ...
0
votes
0answers
33 views

Updating .aprx file after creating new layer using ArcPy?

I use arcpy function XYTableToPoint_management() to create a new layer vessel_coordinate into the current active map, as shown below. But when I list the layers in this map (map.listLayers()), I hope ...
2
votes
1answer
30 views

Updating field in geodatabase table depending on other field using ArcPy?

I have a table in a file geodatabase that has "FieldA" and "FieldB". I want to update FieldB with one of two values, depending on if there are one or more records with the same value of FieldA. ...
1
vote
0answers
36 views

Adding updates to current QGIS version from later ones?

I am currently using version 3.4 of QGIS, and I was wondering if it is possible to implement all of the awesome changes from version 3.5, 3.6, etc. into version 3.4 or do I need to keep installing the ...
1
vote
1answer
125 views

Replacement for moveLayer in QGIS 3?

I am a novice to QGIS tasked with updating other developers' plugins from QGIS 2 to QGIS 3. Here's the code I need to replace: legend = self.iface.legendInterface() index = legend.addGroup('...
0
votes
1answer
29 views

UpdateCursor giving ValueError: need more than 1 value to unpack?

I am writing a script assigning the ADMINAREA value to the empty LOCALITY fields from TWB_Suburbs to TWB_Property layer. I am getting: ValueError: need more than 1 value to unpack Is anyone able ...
1
vote
0answers
73 views

Updating identify tool every time feature is selected with PyQGIS3

I want to use the "Identify Feature Tool" in code (PyQGIS3). What I've found in the internet doesn't use the tool, people usually print in console point features and ids. I also found a tool that ...
1
vote
1answer
59 views

Trying to add a value in the second row of a table

I am trying to add a specific value to a cell of the second row of a feature-class-table. Doesn't work with my code: #First row rows = arcpy.InsertCursor(tb_value) row = rows.newRow() ...
0
votes
0answers
169 views

Alter and update a shapefile with a field from an ASCII file using ogr

I have a vector file "map.shp" with a field ID. I have an attribute table (data.txt) with the following fields: ID, value1, value2. The field ID is the same in both files. I want to update map.shp by ...
1
vote
1answer
433 views

Adding a column and update values using SQL in QGIS

I have a vector file "data.shp" containing the following fields: ID, value1, AREA I want to add a new column "value2" and set it as value1/AREA. Since I want to do that for many columns and files I ...
0
votes
1answer
161 views

Update attributes with arcpy.updateCursor and updateRow

I need to update attributes with arcpy.updateCursor and updateRow based on a list of service numbers, but I can't even get one row to update. This is my beginner code. df= r"GAS FEATURES\SERVICE ...
0
votes
0answers
222 views

How to update column based on data from another table (Mapinfo Pro)?

What I want to do is update column (Table A) by values from another table (Table B) using condition intersects. There are few objects in table B which intersects one object from table A. When I try to ...
2
votes
1answer
596 views

QProgressDialog in QGIS 3.0 not updating

I am using a QProgressDialog to show the progress of a routine that is running. I found this very helpful question/answer how-to-show-a-moving-progress-bar-in-qgis, but I can not reproduce successful ...
0
votes
1answer
542 views

Using Update Cursor gives IndexError: list assignment index out of range?

I am trying to use an update cursor and receiving an error. I'm not very familiar with using cursors, so please bear with me. I am trying to write a 1 or 0 to a field, based on a condition. The error ...
0
votes
1answer
593 views

Using UpdateCursor based on current selection of features

What I want to do is to manually select two features with the mouse (e.g. point or polygon), each in separate geodatabases to then copy the attributes values from one to the other (for only these two ...
3
votes
1answer
260 views

Republishing AGS Service Doesn't Update Web Map in AGOL

I created a web map in my AGOL content folder after publishing from ArcMap as a Portal feature service. I created a web map in AGOL by bringing in the service URL. I have three group layers with ...
0
votes
1answer
84 views

Update DB Geometry using GDAL

We are working with a geometry DB (Oracle) and use GDAL to download some data and apply changes to it. Supposing that we were applying the following workflow: DB -> GeoJSON -> modified_GeoJSON Is ...
0
votes
0answers
101 views

Keeping my changes up to date with OSM

One year ago, we exported data from OpenStreetMap. We added attributes and cut some segments with JOSM. Now, we want to update those files (.osm) to the current state of OpenStreetMap. How can we ...
1
vote
0answers
62 views

Update to Bonn 3.2 QGIS seems to have had a effect on some of my code

I asked a question here:Adding to attributes based on shared line in QGIS? but it seems that in Bonn 3.2 QGIS this does not work. Any ideas what has changed for it not to work, other snippets of code ...
2
votes
1answer
401 views

Ubuntu: Updating Mapnik from 2.2.0 to 3.x, complications?

I'm wanting to upgrade Mapnik on a production system from 2.2.0 to 3.x to take advantage of improvements to data-driven rendering. Fortunately the install instructions for Ubuntu have been updated ...
0
votes
1answer
123 views

Will I lose project functionality on upgrading QGIS?

This might be a stupid question but if I update to QGIS 3.2.1 will I have problems working on projects created in my current 2.18.20?
0
votes
1answer
28 views

How to update a field in a CSV file/table based on where it is on the map

I have a shapefile which I downloaded that displays different region types. I also have a CSV file of geocoded addresses. I have loaded both into QGIS and can see the addresses scattered about on the ...
0
votes
1answer
222 views

Nominatim North America update

I want to keep updated my fresh install of Nominatim 3.1.0. I have installed North America maps from this (http://download.geofabrik.de/north-america-latest.osm.pbf) file. According to the article (...
0
votes
0answers
46 views

Why is my QGIS installation not updating to a more recent version? [duplicate]

I've QGIS 2.18 installed in Ubuntu 16.04 for a long time. I added the repository https://qgis.org/debian. Why is it not updating to version 3.0 or 3.2? I thought the respository for the LTR version ...
1
vote
1answer
487 views

Is there any way to automatically update a shp layer in QGIS?

I work with a vectorial layer (shp) created from a a csv file which periodically changes its content. The issue I'm raising is the following: every time I perform changes in the CSV file, I have to ...
1
vote
1answer
121 views

Using Update Cursor to Calculate Field from List of other Values

I'm working on a script that will use a predefined list of strings to calculate the value of a new field. The idea is this: if the value of field 'EF_Type' is equal to the value of a string in the ...
1
vote
0answers
39 views

Unable to update R scripts in Processing

I'm unable to update my R script on Processing. Nothing happens after hit OK button. Those scripts under "Updatable" never get updated. Am I missing something? (QGIS 2.18.21, Linux Mint 18.3 ...
1
vote
0answers
249 views

ArcGIS server Geoprocessing job failed immediately after submit

I have a few geoprocessing services published onto a production ArcGIS server but after a series of Windows 2012R2 and ArcGIS server updates, the services stopped function. When I submit a job, ...
0
votes
2answers
67 views

Iteratively Updating Just Bottom Row in Table using ArcPy?

I see lots of examples of updating a specific column down ALL rows of a table, for example: with arcpy.da.UpdateCursor(Input_Layer, ['Column_1','Column_2']) as cursor: for row in cursor: ...