Friday, 22 May 2015

How to install Postgresql-9.3.5/9.4 and PostGIS-2.1 on Ubuntu 15.04 in six easy steps.

Install Ubuntu 15.04 (Vivid Vervet)


1. check your Ubuntu version:-

lsb_release -a

Install Postgresql


2. On the server or your PC (Terminal):-

sudo apt-get update
sudo apt-get install -y postgresql postgresql-contrib

Create a database and a user for access


Replace DATABASE_NAME_HERE and USER_NAME_HERE with the values you want to use.
# this will prompt you for a database password...also note the capital letter 'O' not number '0' (zero) below:-

3. sudo -u postgres createuser -P USER_NAME_HERE
sudo -u postgres createdb -O USER_NAME_HERE DATABASE_NAME_HERE

Test Connection to Postgresql


4. psql -h localhost -U USER_NAME_HERE DATABASE_NAME_HERE

Postgresql will ask you for your password. Then you should see the following:

psql (9.3.5)
SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
Type "help" for help.

DATABASE_NAME_HERE=>

To exit type:-

\q

To add PostGIS-2.1 support to the database


5. sudo apt-get install -y postgis postgresql-9.4-postgis-2.1
# typing 'postgresql-9.3' instead of postgresql-9.4 above will fail.

sudo -u postgres psql -c "CREATE EXTENSION postgis; CREATE EXTENSION postgis_topology;" DATABASE_NAME_HERE

6. Finally... install PgAdmin3 and set your 'service' connections

My thanks to Jon Saints for his original post dated from 13th August 2014 (for Ubuntu 14.04)
http://www.saintsjd.com/2014/08/13/howto-install-postgis-on-ubuntu-trusty.html
http://www.github.com/saintsjd
http://facebook.com/saintsjd

Saturday, 31 January 2015

Google Earth Pro is (according to slashgeo) about to be free.

'Slashgeo.org' have just posted a new entry siting the following:-

"The Google Earth Blog (independent from Google) found out that Google Earth Pro is now free, it was formerly $400 per year.

There hasn’t been an official announcement yet, but as pointed out by a GEB reader, “the Google Earth licence support page for languages other than English states that from January 20th, 2015 the licence is free.” 

The GEB languages other than English list some features available in the Pro version not available in the Free version: “Although many of the extra features found in Google Earth Pro will only be useful to GIS users, a few features that our readers have expressed interest in using are: the built in movie maker, area and perimeter measurements and the ability to turn off terrain completely.” 

You’ll find more details about what the Pro version has to offer on the Google Earth Pro official webpage. Wikipedia lists GIS data importation and advanced printing modules part of its features".

Tuesday, 27 January 2015

QGIS Mobile is dead...long live 'QField'

QGIS has become one of the most successful Open Source GIS projects on the planet. From it's early beginnings as not much more than a Shapefile viewer to an ArcGIS alternative coupled with Grass GIS Modules there is very little general spatial functionality missing... well almost.

QGIS was never meant to be a convenient field data entry tool and QGIS for mobile was meant to fill the gap however as of December 2014 the project has been refocused to create a touch optimised interface aimed at field work using the QGIS libraries.

'QField' aims to take your pre-prepared QGIS project out into the field and maintain QGIS styling. Some of the promised tools include:-
  • More GPS centric editing.
  • Desktop compatibility.
  • Synchronisation.
  • Project preparation on QGIS Desktop.
  • Simple interface with just a couple of buttons.
  • Switchable use paradigm
Built from Qt5, QtQuick 2 and OpenGL.

For a proposed list of functions click here.



More information is available and developers wishing to contribute with a use case should contact:- info@opengis.ch

or mail:-

OPENGIS.ch GmbH
Via Cochetta 2
7152 Sagogn, GR
Switzerland

source: http://www.opengis.ch/android-gis/qfield/