Using QGIS as an alternate GUI for GRASS
Submitted by dylan on Mon, 2005-11-21 04:45.
QGIS directly accessing GRASS data
Accessing attribute data in QGIS
The QGIS GRASS Toolkit
My Notes for an Install on Debian/Linux
Note that any old gdal-include files or libraries will cause problems in the make step.
Getting Started
- install the latest GEOS for the latest build of QGIS.
- install the xorg-dev and xserver-xorg-dev packages
Related Links:
My build method: (you might want a different branch)
# checkout source
svn co https://svn.osgeo.org/qgis/trunk/qgis qgis-unstable
cd qgis-unstable/
# configure to use GRASS and a custom install of PostgreSQL
# don't build bindings... something weird with debian/unstable
cmake -D GRASS_PREFIX=/usr/local/grass-6.5.svn/ -D WITH_BINDINGS=OFF -D POSTGRES_CONFIG=/usr/local/pgsql/bin/pg_config .
# if you have a multiprocessor machine, use a parallel build
make -j4
sudo make install
Some troubleshooting tips:
-
Run ldd /usr/local/bin/qgis | grep "not found" to test for missing libs.. if there are any missing libs, try running sudo ldconfig to fix things.
- To add a custom SRID to your QGIS install, add the folowing to the srs Sqlite db:
INSERT INTO "tbl_srs" VALUES(9001,'CaSoilResource','aea','GRS80','+proj=aea +x_0=0.0 +y_0=0 +lon_0=-96 +lat_0=40.0 +lat_1=20 +lat_2=60.0 +datum=NAD83 +ellps=GRS80 +units=m +no_defs',100000,9001,0);
- do NOT compile the source code in the root working copy directory
|