Questions tagged [update]
The act or an instance of bringing something up to date.
329
questions
3
votes
2
answers
47
views
Update fields in table in PostGIS database by joining attribute by field value from a layer
I have a table in my PostGIS database. Its geometric objects I loaded in to my QGIS project as layer where I can edit them. In this layer (layer A) there are features with null values in some fields. ...
0
votes
1
answer
56
views
How to update an existing web map if I need to add a new feature layer to the ArcGIS Pro map the web map is sourced from?
I have created a web map through the following process:
Create map in ArcGIS Pro-->Publish it as Web Layer-->Open hosted feature layer and save as web map.
I know that I can push through updates ...
0
votes
0
answers
25
views
Automate updating of Finland GIS data, cadastral, buildings, roads
I am downloading data for the free versions of cadastrals, roads and buildings from open API but I haven't found any way to update the data.
Is anyone here familiar with how the Finnish gov delivers ...
0
votes
0
answers
50
views
ArcGIS Online Layers not updating and stuck loading when adding data with CSV file
My organization just recently (June 14th -15th 2023) experienced an update to the process of updating data already housed in a feature service layer. Normally I add the data to a .csv file using a ...
0
votes
0
answers
47
views
GeoNode : how to replace a layer in the version 4.0?
In GeoNode, I would like to update layers without creating new ones.
However, I don't see in version 4.0 a way to do that.
There is no "replace layer" button such as in the version 3.1 at ...
0
votes
1
answer
82
views
Updating map after updating standalone tables with ArcGIS Pro [closed]
I am using ArcGIS Pro and have added a CSV file called 'Period 1' as a standalone table and mapped its destinations in my project. And now, I have a new version of 'Period 1' file after data cleaning.
...
2
votes
1
answer
97
views
FME 2021-22 delete features in GeoPackage
I used FME to convert some geodatabases into GeoPackages. However, I updated some layers inside some geodatabases and need to do the same for the GeoPackages in FME. I opened the FME Data Inspector ...
4
votes
2
answers
69
views
PostGIS subquery error when trying to randomly distribute points in polygons
The following is some code from @geozelot that I'm repurposing to randomly distribute duplicate points inside the polygon they are contained within, however, I get the following subquery error:
ERROR:...
7
votes
1
answer
102
views
Running Python code easily for end users in QGIS
I have a basic bit of code that updates layout names to help manage revisioning and PDF names etc.
Currently, it is run from the project Python actions - so it runs whenever the project is saved, this ...
3
votes
2
answers
159
views
Is there any way to link the current map scale in the print layout to a text box?
Is there any way to link the current map scale in the print layout?
I know you can do something similar with the the date by entering $CURRENT_DATE(yyyy-MM-dd) into the text box.
0
votes
0
answers
115
views
GeoServer update 2.19.5 -> 2.20.7 won't start in Tomcat with external datadir
I am trying to update our GeoServer to the newest version by incremental updates between each major release. Currently moving from 2.19.5 to 2.20.7.
GeoServer 2.20.7 starts fine with its default ...
0
votes
0
answers
10
views
Seeing data age or last update using ArcGIS Pro [duplicate]
I am using ArcGIS Pro 2.9.2 and would like to see the last data update in different geodatabase. I opened the properties option for each layer. I could not find any date.
Is there any tool or option ...
1
vote
1
answer
290
views
Update Modified date or Summary field of AGOL hosted feature layer using ArcGIS API for Python
I am using a Python script (see below) in ArcGIS Pro to update two existing hosted feature layers on ArcGIS Online. The script deletes all records in the existing hosted feature layers and appends the ...
2
votes
0
answers
65
views
Adding auto-updating expressions to legend in QGIS
I am trying to add an expression to a legend item in my print layout that auto-updates when values in the field change.
Essentially, I have a layer with a field which calculates the length of each ...
0
votes
0
answers
260
views
Updating QGIS in Ubuntu 22.04.01
Trying to update QGIS I followed the instructions here Stack Exchange question
but the commandcat /etc/upstream-release/lsb-release fails because there is no folder of that name. Without this the ...
0
votes
1
answer
75
views
Updating PostgreSQL (database connection) layers in ArcMap 10.8.2
I have an ArcMap 10.8.2 project where I'm using layers from a PostgreSQL spatial database connection. It works great but I need to periodically update the layers. I uploaded them in PostgreSQL using ...
1
vote
0
answers
79
views
Updating only selected features with the QGIS Gaphical Modeller
I want to update selected features (features within a specific buffer or selected with their attributes) with the graphical modeller of QGIS but It doesn't work because I don't find the algorithm in ...
0
votes
1
answer
73
views
Using Python dictionary to update street type in another field in ArcGIS Pro
I am using a dictionary to update street type in another field in ArcGIS Pro 3.0.3
I am a novice python user and I am having problems updating a string field with a dictionary.
I am joining ...
0
votes
1
answer
67
views
ArcPy UpdateCursor - Adding different text to more than one row of a shapefile entity
I have the following code, which adds a field, and then a value to a row:
import arcpy
V1 = r"path/shapefile.shp"
# Add CODE field
arcpy.AddField_management(V1, "VERTEX", "...
0
votes
1
answer
75
views
Updating R folder in QGIS
I cannot run various R scripts in QGIS because several packages are not updated. For the same reason I actually need to update my R version.
Do you know if when updating R software the folder rlibs in ...
0
votes
0
answers
25
views
Update Cursor not deleting all necessary features in AGOL Feature Layer
I have taxlot data stored in AGOL with related tables, and I have a piece of code that finds and deletes records in the related tables that are not related to a record in the taxlot data. This is ...
2
votes
2
answers
243
views
TRIGGER FUNCTION: With UPDATE of geom: Calculate automatically area column
I'm using PostGIS and I would like to use trigger to: when there is a change in the geometry of a polygon, that its surface is also updated.
I have tested several syntaxes but I always get an error &...
0
votes
0
answers
299
views
Adding new auto-updating fields like [Shape_Area] using ArcGIS Pro
Currently in ArcGIS Pro, any polygon feature class in a gdb will have the fields [Shape_Area] and [Shape_Length] and these will be updated to reflect any changes to the feature geometry. This is very ...
2
votes
0
answers
107
views
Automatically update geometry from attribute
Using the field calculator one can update the geometry of a feature in dependence of one of its attributes. The process is described in
Updating feature geometry from attribute fields in QGIS
My goal ...
1
vote
1
answer
90
views
How to update column values starting with zero in MapInfo Pro
When I choose the Update Column function in MapInfo Pro 12.5, if I type in rowid*50 it will make intervals of 50 which is all fine, but how do I get the first column to be zero and then update the ...
1
vote
1
answer
508
views
Move and update a marker to a fixed coordinate
I used Leaflet and leaflet.draw-src.js with this code : http://bl.ocks.org/TetsuyaKimotsuki/0156c511e3217edf58beb206633308f8
After creating a marker, I want to move it to the coordinates indicated in ...
0
votes
0
answers
130
views
Update existing attribute field. Qgis
Is it possible by using Field Calculator to Update existing attribute field, ID field, which has many rows with value of 1.
In a way that values of ID field increase top to bottom by value of 1, ...
0
votes
1
answer
150
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
798
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
141
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
73
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
123
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
76
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
151
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
39
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 ...
2
votes
1
answer
277
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
147
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
54
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
80
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
114
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
149
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
898
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
86
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
146
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
224
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
99
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?
3
votes
1
answer
912
views
Automatically updating feature area in the attribute table using QGIS
How can I write an expression to update the area of polygons and lengths of features automatically as well as the sum of the areas and lengths? I am using QGIS 3.16.7 and the data format is OGR ...
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
377
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
398
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 ...