Thinking in GIS

a blog about GIS from a urban geogeek living at the countryside

Feed, Categories, Archives


A day with FeatureServer #2

Posted: May 03, 2008
Categories: OpenStreetMap, Web2.0, GIS, WMS, Windows, Twitter, PostGIS, devs, Python, OpenLayers, FeatureServer, Ubuntu, WFS, Flickr, Uncategorized
Feedback: View Comments

In the previous post we have seen an introduction to FeatureServer, and we were just playing with the base edit sample, with the scribble layer.Now it is time to use FeatureServer with our datasets: I am assuming that you will want to create FeatureServer services for shapefiles, PostGIS layers, OpenStreetMap, Twitter and Flickr.Data preparation for this demo1) shapefilesIf you want to follow my steps, you can download the sample shapefiles of New York I was using to assemble this demo here: select New York as a state and then as a county, and download the Block Groups and the Roads,...
Read the full post

A day with FeatureServer #1

Posted: February 21, 2008
Categories: Python, GIS, gvSIG, WMS, Windows, uDig, PostGIS, devs, QGIS, FeatureServer, Ubuntu, Apache, WFS
Feedback: View Comments

Some friends already spoke me well about FeatureServer by Metacarta in the last weeks, so I already was waiting for having a bit of time to get started with it. Then James posted this on his blog, and my curiosity was definitely fired.So I decided to spend a day for installing and testing it, without thinking of the lack of documentation (FeatureServer is still a young project, so no wonder here if the only way to get infos is digging in the source code and posting to the mailing list). The day I considered to spend on it then spawned...
Read the full post

Installing PostGIS on Ubuntu

Posted: January 30, 2008
Categories: GIS, gvSIG, QGIS, uDig, PostGIS, devs, Ubuntu
Feedback: View Comments

With this post I will show how to install PostGIS 1.2.1 on Postgres 8.2.5 in Ubuntu 7.10 (but this procedure should work also for previous PostGIS/Postgres/Ubuntu versions) from repositories.I will also show you how to load and secure GIS data and how to access them with some cool OS GIS Client (QGIS, UDig and gvSIG).If you use this instructions together with my previous post, you will have a fully functional GIS Server Open Source Ubuntu workstation!-1- Install PostgresIf you haven't Postgres, you need to install it (PostGIS runs on top of it). Open an Ubuntu terminal, and type:sudo apt-get install...
Read the full post

Installing MapServer on Ubuntu

Posted: January 10, 2008
Categories: GIS, devs, MapServer, Ubuntu, Apache, Uncategorized
Feedback: View Comments

With this post I will show hot to install MapServer 4.10.3 in Ubuntu 7.10 (but this procedure should work also for previous Ubuntu versions) from repositories.1) set Ubuntu sources needed for this softwareAdd universe ( http://archive.Ubuntu.com/gutsy/universe ) and multiverse repositories to your sources (by default are not in Ubuntu)sudo gedit /etc/apt/sources.listand uncomment this two lines:deb http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiversedeb-src http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiversesave the sources.list file and then then update your sources:sudo apt-get update2) Install MapServernow download and install MapServer:sudo apt-get install cgi-mapserver mapserver-bin mapserver-doc php5-mapscript python-mapscriptMapServer 4.10.3 will be installed (latest of MapServer 4.x serie,...
Read the full post

Installing Zope and Plone from source on Ubuntu in 10 easy steps

Posted: January 02, 2008
Categories: devs, Zope, CMS, Plone, Ubuntu
Feedback: View Comments

Here are my notes for installing Zope and Plone from source in Ubuntu. I took this notes installing on 7.10 (Gutsy) but should work without problems for earlier Ubuntu versions, and for other Linux platforms-1- install libraries needed for build (build-essential) and Zope-2- download zope 2.10.5 and plone 3.0.4wget https://launchpad.net/plone/3.0/3.0.4/+download/Plone-3.0.4.tar.gzwget http://www.zope.org/Products/Zope/2.10.5/Zope-2.10.5-final.tgz-3- unzip the downloaded filestar -xvzf Zope-2.10.5-final.tgztar -xvzf Plone-3.0.4.tar.gz-4- create the makefile and set the prefixcd Zope-2.10.5-finalway1:./configuregedit makefile and set prefix=/opt/Zope-2.10.5or way2 (simpler): ./configure --prefix=/opt/Zope-2.10.5-5- Install Zope (at the location set in prefix)sudo make install-6- create an user for zope not run as suggested: "Now run '/opt/Zope-2.10.5/bin/mkzopeinstance.py'" but create an...
Read the full post

Ruby on Rails applications with Mongrel cluster and Apache url rewriting on Ubuntu

Posted: November 08, 2007
Categories: devs, Apache, Ruby on Rails, Ubuntu
Feedback: View Comments

This is the workflow I followed for setting up my Ubuntu (Ubuntu 7.04 - the Feisty Fawn, but should work without problems also for the latest Ubuntu 7.10 - Gutsy Gibbon ) development machine for serving Rails application with Mongrel clusters and Apache.Install Ruby, gems and Ruby on Rails# install rubysudo apt-get install ruby ri rdoc libmysql-ruby# download rubygemssudo wget http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz# tar rubygemstar -xvzf rubygems-0.9.4.tgz# ruby setup.rb rubygems scriptcd rubygems-0.9.4sudo ruby setup.rb# download and install Ruby on Rails frameworksudo gem install rails --include-dependenciesmoreInstall Apache 2.2 and enable the needed modules (url rewriting, proxy, proxy_balancer e proxy_http)# install Apache 2.2sudo...
Read the full post