Had the need to install Mapserver/PostGIS/GDAL etc on a FC8 box. While 99% of what I do now is on Ubuntu (here are some notes and vids on installing there)… I occasionally need to play on a Fedora box. So, here are some recent install notes from a bare bones FC8 box to get it all going from source…
GIS Tool Install, General
Well, I got Ubuntu 7.10 installed on an 8 gig SDHC card and away I go…
4.5 gigs used for the base Ubuntu system as well as the base GIS software:
1) Proj4 (4.6.0)
2) GDAL/OGR (1.5.0)
3) GEOS (3.0.0)
4) Postgresql (8.2.5)
5) PostGIS (1.3.2)
6) QT dev environment (4.3.2)
7) QGIS svn (0.9.2)
What do you get? Well, an ultra portable GIS workstation weighing in at less than 2 lbs that is very fun!
Check out a video:
http://www.reprojected.com/presentations/Videos/eee_qgis_install/eee_qgis_install.html
GIS Tool Dev, GIS Tool Install, General
So here are the simple (kind of) steps as of today to get a windows install of QGIS working that supports PyQt and the python bindings to QGIS… all with out having to compile anything:
1) Make sure you have Python 2.5 or newer installed on your machine… if you don’t have it you can download it from HERE (official) or HERE (my archive).
2) Install PyQt4.3.1 from HERE (official) or HERE (my archive)
3) Download and unpack THIS zip file. Copy the PyQt4 directory unpacked from the zip into your Python 2.5 site-packages directory. Make sure to save the old PyQt4 directory in the site-packages by renaming it in case something goes wrong!
4) Download and install QGIS from HERE (my archive). This is the latest release candidate from what_nick that is based on the Qt4.3.1 series.
5) In the QGIS install there are some GRASS documentation files that are missing and can cause warning dialogs to pop up when using the GRASS toolbox. You can unzip the contents of THIS archive into the QGISDIR\grass\docs\html directory to stop the warnings.
You can still follow the instructions HERE to build QGIS yourself and play to your hearts content, but I know that there are many windows users out there that really would just like to get moving without the hassle of compiling. This post is for you.
GIS Tool Install
I went ahead and added some build notes that I have created in the past for setting up new Fedora based machines with a web GIS stack. Currently building on FC6 and will post soon. Hope this helps some folks out.
FC3 and FC4
Also, added a couple more historical presentations for archiving!
GIS Tool Install, General
Man you cant get any better than this:
http://wiki.dreamhost.com/index.php/Non-profit_Discount
We at Ecotrust just signed up… can’t beat 1/2 terabyte of storage and 5 terabytes of bandwidth… FREE!
This personal blog is hosted there as well under my personal account, but if you are a non-profit interested in playing with Mapserver/PostGIS/GMT/GRASS you can check out my post on installation in this environment to get up and running with web mapping… FOR FREE!!!
Enjoy
UPDATE (12/09/06): For those who are not in the non-profit world but are still interested in Dreamhost for cheap hosting I just created a promo code that gives the FULL $97 discount to you… Nothing to me. Dreamhost works on this crazy “reward” system for getting people to use you as a referal, offering a finders fee to the current customer. I have created this code to apply all of the finders fee to your discount… I get NOTHING. It is ZPULLEYFULL , enjoy!
GIS Projects Ecotrust, GIS Projects Personal, GIS Tool Install
OK, I have servers at work that I use daily to develop Mapserver/GDAL/OGR/GRASS/GMT/etc… based apps, but how about on a shared hosting environment?
Well, I finally got it going. I have written up my install instructions for Mapserver/GDAL/OGR/Proj/Postgres/Postgis/Geos/GMT/GRASS on Dreamhost, a debian based shared hosting service. The great thing about it…
1) It cost $9.95/month (1 year contract) *12 = $119.40
2) You can use a discount code to get $97 off… Total cost at sign-up = $119.40-$97 = $22.40
UPDATE (12/09/06): I just created a propmo code that gives the FULL discount to you… Nothing to me. It is ZPULLEYFULL , enjoy!
3) Add a domain for $9.95 and the first year of this site cost $32.35 … WOW
With this package I get 200 Gigs of space (grows weekely!) and 1 Terabyte of bandwidth/month (grows weekly!).
So what good is it if I cant do some mapping work with it? Well, I have posted notes how I was able to get a fully functional Mapserver/PostGIS environment up. I went as far as to get command line GRASS installed to do geo-processing sans the GUI. GMT installed like a breeze, and bammmm… a GIS work environment.
Cant beat the rent
Check out some demo’s running on the server:
1) ka-map
2) GMT
pretzel:~/usr/local/src/gmt/GMT4.1.2/examples> ./do_examples.csh
Doing example 01…done
Doing example 02…done
Doing example 03…done
Doing example 04…done
Doing example 05…done
Doing example 06…done
Doing example 07…done
Doing example 08…done
Doing example 09…done
Doing example 10…done
Doing example 11…done
Doing example 12…done
Doing example 13…done
Doing example 14…done
Doing example 15…done
Doing example 16…done
Doing example 17…done
Doing example 18…done
Doing example 19…done
Doing example 20…done
Doing example 21…done
Doing example 22…done
Doing example 23…done
Doing example 24…done
Doing example 25…done
Completed all examples
pretzel:~/usr/local/src/gmt/GMT4.1.2/examples>
Check out the Output Images
3) GRASS
IMPORT ——>
GRASS 6.1.cvs > r.in.gdal input=world-topo-bathy-97_32_84_24.tif output=bmng_grass location=blue_marble
A datum name wgs84 (WGS_1984) was specified without transformation parameters.
Note that the GRASS default for wgs84 is towgs84=0.000,0.000,0.000.
100%
CREATING SUPPORT FILES FOR bmng_grass.red
SETTING GREY COLOR TABLE FOR bmng_grass.red (8bit, full range)
100%
CREATING SUPPORT FILES FOR bmng_grass.green
SETTING GREY COLOR TABLE FOR bmng_grass.green (8bit, full range)
100%
CREATING SUPPORT FILES FOR bmng_grass.blue
SETTING GREY COLOR TABLE FOR bmng_grass.blue (8bit, full range)
r.in.gdal complete.
Mapset in Location
GRASS 6.1.cvs>
VERIFY ——->
Welcome to GRASS 6.1.cvs (2006)
GRASS homepage: http://grass.itc.it/
This version running thru: TC Shell (/usr/bin/tcsh)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
Start the graphical user interface with: gis.m &
When ready to quit enter: exit
Mapset in Location GRASS 6.1.cvs > g.list type=rast
----------------------------------------------
raster files available in mapset PERMANENT:
bmng_grass.blue bmng_grass.green bmng_grass.red
----------------------------------------------
Mapset in Location GRASS 6.1.cvs>
Thats it for now… Up and running!!!!!!
GIS Tool Install