- Android botany climate change Data handling Data sources decision support tool forest GIS GIS software GRASS GIS history LibreOffice / OpenOffice Mobile tools Modelling online mapping Open access Operating system QGIS R computing environment research tools Software release Spatialite SQLite statistics tools Ubuntu Uncategorized vegetation
May 2013 M T W T F S S « Apr 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Meta
Tag Archives: SQLite
Sum up values of neighbouring polygons – a GRASS GIS approach
How to sum up values of neighbouring polygons in QGIS? This question was asked on gis.stackexchange, with two interesting answers. One answer explains how to use Spatialite and SQL to achieve this. The other answer, explained in more detail here, presents … Continue reading
Find and select duplicate values in your vector attribute table
Suppose you have a vector layer in your GRASS GIS database and you want to find all duplicate values in one of the columns of the attribute table of that layer? If you are using SQLite or PostgreSQL as the … Continue reading
Posted in Data handling, GRASS GIS, SQLite
Tagged GRASS GIS, select, SQL, SQLite, vector layer
Leave a comment
Split strings in SQLite
I am just back from vegetation survey in Kenya and Uganda. Before starting with the analysis, I will have to go through the more boring data entry and organization. I will use a Spatialite database to store all the data … Continue reading
Posted in Data handling, QGIS, Spatialite, SQLite
Tagged language sql, open source, QGIS, Spatialite, split string, SQLite, Substr, trim, waypoint data
Leave a comment
Concatenate in SQLite
I wrote before on using concatenate in OpenOffice / LibreOffice and how this alternatively can be done in R using the paste function. You can do the same in SQLite using a query too.
Posted in Data handling, SQLite
Tagged concatenate, example sourcecode, open source, SQL, SQLite
Leave a comment
SQLiteMap
Looks interesting, a R package that provides bindings to Spatialite functionalities. Through this bindings one can carry out the spatial functions available in Spatialite from within R using simple SQL statements.
Posted in GIS software, R computing environment, Spatialite, SQLite
Tagged fopen source, R, Spatialite, SQLite
Leave a comment
Select random sample from SQLite table
I came across this post by underdark about how to select a random sample from a table in PostgreSQL. You can achieve the same (selecting 1000 random features from a table) in SQLite using something like below:
Posted in Data handling, GIS, Spatialite, SQLite
Tagged QGIS, random sampling, Spatialite, SQL, SQLite
Leave a comment
Finding and removing carriage returns in your SQLite table
The problem with copy data from e.g., an excel or calc sheet into an SQLite database (or any database I reckon) is that the data you copy might include an carriage return. I found this out the hard way after … Continue reading
