All Questions
21
questions
2
votes
0
answers
53
views
If-then formular in table QGIS
I am working with QGIS and I have a table with several columns, some of them I defined as drop-down columns. In the next step I would like to define certain specifications. For example: If column A is ...
4
votes
1
answer
210
views
Creating table coordinates of selected feature and adding it to layout with PyQGIS
I am working on a Plugin that allows users to look for a feature in the database, select it, and then open the Layout designer with map, arrow legend and some labels.
I am looking to add a table that ...
0
votes
1
answer
264
views
Write Zonal Statistics as table to an editable table in Python
I am performing zonal statistics as table on many rasters (different years of data). I would like to write the result to a table that I can edit, so that I can rename the "SUM" column and left join ...
2
votes
1
answer
424
views
Split millions of points in shp with 100'000 points each [closed]
I havie over 8 million points in a shapefile. Now I would like to split these 8 mio points into parts of 100'000 points each, in order to facilitate further calculations with these points.
In the end ...
5
votes
1
answer
686
views
Writing QGIS field calculator formula?
I have a table with 2 fields, field1 contains site specific data, field2 contains a number which groups the field1:
Field1, Field2
180, 1
203, 1
220, 1
205, 1
160, 2
140, 2
135, 2
I want to sort ...
4
votes
2
answers
1k
views
How to select duplicate records based on multiple fields?
I have a feature class with two fields of interest: "name" and "identifier" (Original Data; Figure 1). Note that there are several duplicate rows in the table and the table may or may not be sorted, ...
6
votes
0
answers
307
views
How to handle large tables in QGIS using Python?
I'm currently writing a plugin that calculates values based on a QgsVectorLayer's attributes. To display and print the values I'm using a QgsComposerTextTableV2. I have several problems with my ...
6
votes
2
answers
14k
views
How can I turn a python list into a table?
I am trying to create a table of coded values so each textual description has a numerical attribute. The order of numbers is not important - they just need to be unique.
What I have so far is a ...
1
vote
0
answers
36
views
listing existing joins in table of contents feature
I am looking for a way to use python in ArcGIS desktop to check and print out the joins that exist between tables and feature classes in my map rather than right-clicking, going to joins and relates ...
2
votes
1
answer
2k
views
Iterate through all fields in attribute table and multiply by field
I have a table with a whole bunch of census variables (race, age, education, etc). I want to multiply all of these fields by a factor that I calculated. For example:
Field1 has values of 10,20,30,40
...
1
vote
2
answers
5k
views
converting csv to dbf
I have a python created CSV that I am looking to turn into a dbf but it is not getting read properly by the TABLE TO TABLE conversion tool. I select the csv, set the output to be XXX.dbf but the ...
0
votes
2
answers
910
views
Python column checker-comparing 2 fields
One problem I am having is the following:
I want to create an automatic program to see how well the automozation has been with comparing the results of 2 columns to each other in the same column.
In ...
0
votes
2
answers
204
views
Editing tables in ArcGIS for Desktop with Python Parser of Field Calculator?
so I'm trying to edit a table so that the name column will not contain spaces. I just don't know how to write the Python script that should go with it.
This is what I have for the Python script now.
2
votes
1
answer
132
views
How to use a feature class attribute to look up values in a table and pass them as parameters to a function?
My problem:
I have a set of points inside a polygon. My goal is to figure out how long it takes (in days) for each point to move outside the polygon, based on a daily movement which affects all the ...
3
votes
1
answer
966
views
Merging .dbf Tables in Python w/o merging all fields of same name
I'd like to merge several tables together using Python. They all have the same field names: "TIME", "X", "Y", and "VALUE".
I would like the "VALUE" fields to remain separate when merged, so that the ...