Questions tagged [update]
The act or an instance of bringing something up to date.
304
questions
0
votes
1
answer
15
views
Updating/Setting Field on GML file not working
I'm currently attempting to add a new field to each feature in a file, however, the file is not getting changed.
I've tried using driver.Open(file_path, 1) and driver.Open(file_path, update=1), but ...
2
votes
2
answers
110
views
Filling attributes in one field based on second field with same values in QGIS
How do I fill the attribute with "SID_2" of the captured image where the ID of "SID_1" is NULL?
I'm using QGIS 3.22
1
vote
1
answer
68
views
Updating attribute field with values from list calculation using PyQGIS
I have a shapefile and I need to update a field with calculation results. In the calculation I'm iterating through two list with equal items as features of the shapefile. The sum of the list items ...
0
votes
1
answer
31
views
Migrating from PostGIS 1.5 to 3.2: need to replace geography_typmod_dims
I can't find a replacement function for geography_typmod_dims which is used in an old application.
In 1.5 there were:
geography_typmod_dims, _in, _out, _srid and _type.
In 3.2 I find only:
...
-1
votes
1
answer
19
views
postgresql update, set highest value [closed]
I would like to update column 4 and set the highest value (bigint) in comparison of column 1-3.
eg. col 1, 2; col 2, 7; col 3, 4. The code should write the value of col 2 in column 4
My approach:
...
1
vote
0
answers
14
views
Update a table from a geodatabse
I use a Geodatabase on SQL Server, on which I base myself to configure tables of the bors and maps.
I tried to modify a few items in a table in this Geodatabase with a simple query (UPDATE...SET). I ...
3
votes
1
answer
59
views
Updating geometry field automatically from East and North fields in QGIS
I have a layer that contains a number of fields, two of which are "East" and "North".
I would like to be able to set up the layer so I fill out the attribute form including ...
1
vote
1
answer
29
views
XYZ update on cloudpoints- QGIS GUI
I have imported data as cloudpoints into QGIS with xcoord, ycoord, depth and elevation.
In some cases I've picked the wrong value for the "Z field" when importing the data, some layers have ...
0
votes
0
answers
30
views
Update QGIS 3.22 to 3:24 does not work (MX Linux 21, 32-bit system)
On a 32-bit PC with MxLinux 21 it does not work updating QGIS 3.22 (that was running before) to 3.24.
When I follow this instructions https://www.qgis.org/de/site/forusers/alldownloads.html#debian-...
2
votes
1
answer
80
views
Replacing one shapefile attribute with another using QGIS
I have two shapefiles from the same area. One is outdated and the other is updated.
Can I automatically or effectively replace the old ones geometry with new one in QGIS?
Changes are not big but ...
2
votes
1
answer
59
views
Cannot update attributes of a point feature
I'm learning PyQGIS (developer's cookbook) with QGIS version 3.14. I've encountered a problem I cannot fix when updating point feature attributes, including the geometry. The changes have no apparent ...
0
votes
0
answers
28
views
Layers displaced after QGIS update
I am using QGIS 3.16 on a MacOS Sierra 10.12.6. Since I updated from QGIS 2.18 (I was not using this program for a long time) the layers or the base maps are displaced by several meters.
The project ...
0
votes
0
answers
27
views
Update vertex via SQL — without reconstructing shape
ArcGIS 10.7.1 — Oracle 18c GDB — SDE.ST_GEOMETRY
I have a multipart polyline in an SDE.ST_GEOMETRY FC. I want to update the coordinates of a specific vertex with a known value — via SQL.
I believe it ...
0
votes
0
answers
43
views
Python script to turn off a checkbox in all layers in ArcGIS Desktop
I need to remove the check for all the layers on a map that has the "UT Simbology" check. I am not really sure If I could use update layer because this is an extension developed by a GIS ...
1
vote
1
answer
48
views
Writing cursor to delete objects greater or less than particular FID
I have a couple of shapefile attribute tables I want to delete items greater than 10 FID using a cursor. My user arguments are the file path, FID, and the number that is the minimum number not to ...
1
vote
1
answer
74
views
IndexError: list index out of range when using UpdateCursor
I am trying to update all values in column in a feature layer in ArcGIS Pro using arcpy.da.UpdateCursor, but I am getting the error:
IndexError: list index out of range
I am trying to update all ...
1
vote
2
answers
187
views
QGIS throws errors in Project after updating to QGIS 3.20
After updating QGIS in Version 3.20.3-Odense, I get following three errors when opening projects that were running without problems before.
-Loading layer fnk_get: Font “Dingbats” not available on ...
0
votes
0
answers
40
views
GeoServer CSS - change size dynamically
I have set point style with three different size, based on three different scale.
Is there any way to set one size and this one will increase or decrease automatically according with the scale (like ...
3
votes
1
answer
49
views
Running script when layer is updated
I have a system where a process is continuously pushing new earthquake data into a PostGIS database, The data are displayed in QGIS having a layer that is updating each 60 sec. This works fine to ...
2
votes
1
answer
107
views
No update of QGIS (3.10) possible on Ubuntu 18.04 - broken packages
I tried to update QGIS 3.10 to a newer version on Ubuntu 18.04 (bionic) but it fails every time due to brocken packages probably. I've already followed instructions on https://qgis.org/it/site/...
0
votes
1
answer
33
views
How can I go back to the previous version of QGIS on Linux Mint?
After the last update of #QGIS yesterday July 21, on Linux Mint, it does not run the program. How can I go back to the previous version?
0
votes
0
answers
76
views
Modifying SQL PostgreSQL layer into QGIS using Python
I'd like to update a SQL layer into QGIS, using Python.
The query is already saved in a QGIS project, using DB Manager and a PostgreSQL DB.
I would like to reproduce what I can do using the click ...
0
votes
1
answer
27
views
To write Error message grouped by a common field attribute value and check another field value is matching for that same group instance using arcpy
The name of my layer is "spat_join_output". So I have a field named 'label' and another two fields 'end_point_x' and 'end_point_y' for the same label values i want to check if the ...
1
vote
1
answer
71
views
PostGIS : Update a POINT (geometry) with a POINT from another table with the same SRID
I try to update a geometry point with data from another table (also a geometry point).
Both are SRID 4326.
The query is executing without errors, everything is updated but the geometry is just not ...
4
votes
2
answers
94
views
Error: 'list' object has no attribute 'segmentAlongLine'
I am trying to trim each polyline in a shapefile down to the first 15 feet of each line. The segmentAlongLine method was suggested to me, but this code is getting the AttributeError: 'list' object has ...
1
vote
1
answer
48
views
Inserting values in a table depending on spatial relation between objects in to tables
I have a new and empty column in a table and I want to insert values, using postgis depending on the spatial relation between the geometries in two tables.
I have one table (points) with benches and ...
1
vote
0
answers
56
views
Ask ArcMap to recognize updated CSV file content
I have a CSV file that I am updating outside of ArcMap (v10.4.1).
How can I get ArcMap to see the revised content instead of the old content?
ArcMap does not automatically see the updated version.
My ...
1
vote
1
answer
82
views
Automatically Updatable GEE App
I'm looking to make a Google Earth Engine App that automatically updates on a regular basis as new satellite imagery comes in for a given dataset. There doesn't seem to be a way to do this easily from ...
4
votes
2
answers
210
views
PostGIS- slow spatial UPDATE queries on 50mil rows
PostgreSQL 11.8, AWS hosted RDS instance, SSD, 8GB RAM, 3.0 GHz Intel Scalable Processor. Plenty of storage space.
I'm finding running updates on a large table using spatial queries is taking a very ...
3
votes
1
answer
261
views
What is the correct syntax for the item.publish command to update a hosted feature layer?
Trying to use the code provided at the bottom of this entry
overwrite feature class in arcgis online using python
to overwrite an existing hosted feature layer in my ArcGIS Online content.
I have ...
3
votes
1
answer
71
views
Analysing differences between 2 dataset versions [closed]
In my GIS department, we purchase vector GIS data and regular updates. Each update delivery includes a new "snapshot" of the dataset, which is a brand new version of the entire dataset. As ...
1
vote
1
answer
195
views
Manually updating the attribute table of a clipped shapefile
I need to do calculations of surfaces of polygons in vector layers. The clip tool does just what I want - I can clip the polygons of the input layer to the clipping layer. When I project the new layer ...
2
votes
1
answer
414
views
Geometry buffer updating with ogr2ogr
I am trying to modify a dataset by replacing the geometry of each feature by its buffer. I try to do it directly, in update mode (not very secure I know). Here is what I tried:
ogr2ogr -update test....
2
votes
2
answers
276
views
Error updating geopackage layer attribute in Python using sqlite3
I'm attempting to update an attribute field in a geopackage layer using the Python sqlite3 module, but any attempt at update is giving an error "no such function: ST_IsEmpty".
Is there ...
0
votes
1
answer
546
views
OpenLayers 6 layer source parameter refresh problem
I'm trying to refresh a source with some parameter. There is a text input control on the html page, I look forward to updating the map based on user input after clicking the button, but it doesn't ...
0
votes
1
answer
277
views
Why my Google Sheet document is not updating in ArcGIS Online?
I have a Google Sheet that updates from a survey I have live in Google forms. I added this to my content in ArcGIS and added as a layer to a map. I was sure to set the refresh interval. I have been ...
0
votes
0
answers
201
views
Deleting existing data and thereafter appending updated data to hosted feature layer (layer within group layer) in ArcGIS Online
I am trying to figure out how to append new data to an existing feature layer in ArcGIS Online. I have tried to solely append the data (in ArcGIS Online), but the problem arises when I receive ...
0
votes
0
answers
367
views
Updating/overwriting multiple layers within a feature layer in ArcGIS Online from a fgdb containing all the new feature classes
I am looking for a method to upload and replace multiple layers in ArcGIS Online that are stored within a (hosted) feature layer. I have the feature classes to be used to update (and identical in ...
1
vote
1
answer
68
views
Updating PostGIS layer with the result of intersection
I have a PostGIS layer which I would like to intersect with another layer (adjust its borders). The result of the intersection should then become the new PostGIS layer (update the input layer).
I ...
0
votes
1
answer
40
views
What happens in the DB when a user updates a record in a versioned table?
ArcGIS Desktop 10.7.1/Oracle 18c.
In a table that is versioned (with the option to move edits to base):
What happens in the database when a user updates a record?
It would be helpful to know what ...
2
votes
2
answers
174
views
Update coordinates on geopackage with shapefile
I have a geopackage file that has all the information about certain items but the coordinates need to be updated. I'm using an old Leica 1200 GPS to get the new coordinates and giving the same ID to ...
1
vote
1
answer
151
views
ArcObjects update feature attribute
I want to update enabled field of feature in an asp.net MVC application.
I have below code but it returned "No update session in progress" error
public string Test()
{
...
0
votes
1
answer
80
views
Populate a combobox with vector layer name in QGIS 3.X plugin [closed]
I'm updating a QGIS 2.14 Python code plugin to QGIS 3.X.
I'm stuck in the attribution of vector name in combobox.
The problem is that I don't have any error message but the combobox aren't filled at ...
4
votes
2
answers
391
views
QGIS update to 3.14 Pi
I try to update QGIS to 3.14 version with osgeo4w-setup-x86_64 but 3.14 does not appear in list. It only shows 3.12
0
votes
0
answers
70
views
Update attribute table by values from other layer
let's imagine that I have 2 different layers with geometry. Some objects from the first layer are "within" the second layer's objects. I'd like to update firstLayer_value in attribute table ...
0
votes
1
answer
56
views
Automatically update field when value in related table is changed
i have set up a 1:n relation in QGIS. The parent layer contains trees (point geometry) and some basic informations about. The related table contains measurements which should be carried out to keep ...
2
votes
1
answer
126
views
StopIteration: iteration not started
I'm trying to update a given field in this case the last one of the table by concatenating all values in the row excepting null values or '' values.
So far when execute the code until line: print (...
3
votes
1
answer
58
views
Refreshing values in Attribute table automatically after they were changed in database
I've connected QGIS to an external database, which records the entry and exit of vehicles in a car park.The objective is to follow the entries and exits of vehicles in real time. However, the ...
1
vote
1
answer
78
views
QGIS -> MySQL Updates
I added a MySQL layer containing GeoData to my QGIS 3 project.
I want this layer updated every time the database updates.
Is there a way to do that?
2
votes
1
answer
432
views
Insert/Update/Delete table from another table changes in PostGIS
I'm trying to build a function that Insert/Update/Delete rows of a table based from another table changes. Unfortunately I could not continue, some problems occured:
DELETE isn't work correctly: Any ...