Tagged Questions
1
vote
1answer
39 views
GDAL SQL syntax to add field an put values
I try to make a new field in my attribute table and put in values from another field after converting from character to integer but can't get the right syntax. I run this as shell-script in MSYS.
cd ...
1
vote
4answers
93 views
Get vector features inside a specific extent
The problem:
I have a very large vector layer with many features and a much smaller raster layer in a defined region. I want to get only those vector features which are within the raster layers ...
4
votes
2answers
113 views
how to cast integer to float in an ogrinfo sql statement?
I have a shapefile for which I would like to add the values in a column.
As the sum exceed the capacity of an integer, I need to cast values to a float.
I tried the following:
ogrinfo -sql "SELECT ...
4
votes
1answer
151 views
ogrinfo SQL GROUP BY Clause
Does ogrinfo support a GROUP BY clauses? I could not find any good documentation of all the SQL syntax features it supports.
I tried the following:
ogrinfo . -geom=no -sql 'SELECT lsad FROM ...
6
votes
1answer
511 views
Spatial joins in OGR SQL
I have seen that OGR supports it's own form of SQL, I was wondering if it's possible to do spatial joins.
Something like select all objects where one intersects the other. I did have a look around ...