Difference between revisions of "GIS Resources"

From Code4Lib
Jump to: navigation, search
Line 1: Line 1:
 
We have several packages of data to play with. Two of them are for ingestion into PostgreSQL/PostGIS. The third is raster data that will come with a preprepared Tomcat instance.
 
We have several packages of data to play with. Two of them are for ingestion into PostgreSQL/PostGIS. The third is raster data that will come with a preprepared Tomcat instance.
  
The first SQL package is a bag of metadata (our PostgreSQL data store will hold both data and metadata). Please find it at [http://people.virginia.edu/~ajs6f/code4lib/geonetwork.sql].
+
The first SQL package is a bag of metadata (our PostgreSQL data store will hold both data and metadata). Please find it [http://people.virginia.edu/~ajs6f/code4lib/geonetwork.sql here].
  
 
Those of you on *nix platforms should be able to run this file as SQL against your PostgreSQL instance without change. Be sure that the PostgreSQL commands are available in your shell:
 
Those of you on *nix platforms should be able to run this file as SQL against your PostgreSQL instance without change. Be sure that the PostgreSQL commands are available in your shell:

Revision as of 14:08, 23 February 2009

We have several packages of data to play with. Two of them are for ingestion into PostgreSQL/PostGIS. The third is raster data that will come with a preprepared Tomcat instance.

The first SQL package is a bag of metadata (our PostgreSQL data store will hold both data and metadata). Please find it here.

Those of you on *nix platforms should be able to run this file as SQL against your PostgreSQL instance without change. Be sure that the PostgreSQL commands are available in your shell:

export PATH=/usr/local/pgsql/bin:$PATH

and try:

psql -f geonetwork.sql -U postgres -d postgres

Let me know how this goes.