May
3
A day with FeatureServer #2
Filed Under GIS, PostGIS, devs, Windows, Ubuntu, FeatureServer, Python, WFS, WMS, OpenStreetMap, Web2.0, Flickr, Twitter, OpenLayers | 2 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.
Feb
21
A day with FeatureServer #1
Filed Under GIS, PostGIS, devs, Windows, Ubuntu, Apache, FeatureServer, QGIS, uDig, gvSIG, Python, WFS, WMS | 6 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 to more and more hours that I could imagine, and given my actually very busy schedule at my job, I had to find free hours during the night and the weekend. I then decided to write this post to help people in getting started with FeatureServer in a quicker way that was for me.
FeatureServer is a simple and powerfull RESTful-Pythonic WFS server.
Only from this last sentence there are 3 very important things that made me like (and you should - also) FeatureServer before even getting started with it:
- Its RESTful architecture
- It is written in Python, and having chosen Plone as our CMS here at my office I am starting to like this language very much
- I truly believe that WFS is the way to go for remotely editing GIS data
Jan
30
Installing PostGIS on Ubuntu
Filed Under GIS, PostGIS, devs, Ubuntu, QGIS, uDig, gvSIG | 9 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 Postgres
If 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 postgresql postgresql-client postgresql-contrib pgadmin3 sudo apt-get install postgresql pgadmin3
Postgres (8.2.5) will be now on your Ubuntu box.
Jan
10
Installing MapServer on Ubuntu
Filed Under GIS, MapServer, devs, Ubuntu, Apache | 8 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 software
Add universe ( http://archive.ubuntu.com/gutsy/universe ) and multiverse repositories to your sources (by default are not in Ubuntu)
sudo gedit /etc/apt/sources.list
and uncomment this two lines:
deb http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
save the sources.list file and then then update your sources:
sudo apt-get update
Jan
2
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
sudo apt-get install build-essential python2.4-dev python-lxml python-elementtree python-imaging
-2- download zope 2.10.5 and plone 3.0.4
wget https://launchpad.net/plone/3.0/3.0.4/+download/Plone-3.0.4.tar.gz wget http://www.zope.org/Products/Zope/2.10.5/Zope-2.10.5-final.tgz
Nov
8
Ruby on Rails applications with Mongrel cluster and Apache url rewriting on Ubuntu
Filed Under devs, Ruby on Rails, Ubuntu, Apache | 3 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 ruby sudo apt-get install ruby ri rdoc libmysql-ruby # download rubygems sudo wget http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz # tar rubygems tar -xvzf rubygems-0.9.4.tgz # ruby setup.rb rubygems script cd rubygems-0.9.4 sudo ruby setup.rb # download and install Ruby on Rails framework sudo gem install rails --include-dependencies
