Book Image

PostGIS Cookbook

Book Image

PostGIS Cookbook

Overview of this book

Table of Contents (18 chapters)
PostGIS Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Adding PostGIS layers – gvSIG


gvSIG is a GIS package developed for the Generalitat Valenciana (gv) in Spain. SIG is the Spanish equivalent of GIS. Intended for use all over the world, gvSIG is available in more than a dozen languages.

Installers, documentation, and more details for gvSIG can be found at the following website:

http://www.gvsig.org/web/

To download gvSIG, click on the latest version (gvSIG 2.0, as of this writing). The all-included version is recommended on the gvSIG site. Be careful while selecting the .exe or .bin versions; otherwise, you may download the program in a language that you don't understand.

Getting ready

Before we begin, we have to deal with the incompatibility between PostGIS 2.0 and gvSIG. Older functions that have been left out of PostGIS 2.0 are needed for this recipe. Luckily, dealing with incompatibility issues is a quick and easy fix when you perform the following steps:

  1. Search for legacy.sql in your PostgreSQL directory. It should be at the following location...