Difference between revisions of "GIS Resources"

From Code4Lib
Jump to: navigation, search
(New page: 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...)
 
Line 3: Line 3:
 
The first SQL package is a bag of metadata (our PostgreSQL data store will hold both data and metadata). Please find it here.
 
The first SQL package is a bag of metadata (our PostgreSQL data store will hold both data and metadata). Please find it here.
  
For those of you on *nix platforms who chose the default install directory (/usr/local/pgsql) you 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:
  
 
<code>
 
<code>
Line 10: Line 10:
  
 
and try:
 
and try:
 +
 +
psql -f geonetwork.sql -U postgres -d postgres
 +
 +
Let me know how this goes.

Revision as of 14:01, 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.