USGIN Community Homepage

Welcome to the USGIN Community page! This is a great place to start getting involved in the USGIN project.

Latest Group Posts

Create a GeoNetwork OGC Harvest Node (WMS or WFS GetCapabilities to ISO 19139 metadata) through xml.harvesting.add request

wgrunberg's picture
wgrunberg 03/08/2010 - 3:31pm | Comments 0

GeoNetwork offers a harvest service that, among other, follows a OGC WMS or WFS GetCapabilities URL and transforms the response into an ISO 19139 metadata record. Bear in mind that the resulting ISO metadata record is only as good as the GetCapabilities response and that the metadata can never be entirely ISO 19139 conformant without dummy values due to limitations of the OGC GetCapabilities schema.

GeoNetwork offers a handy user interface to add those "GeoNetwork Harvesting Nodes" and also exposes their functionality through a even handier XML service. See chapter 19.3 on "Harvesting Services" of the GeoNetwork opensource V 2.4 The Complete Manual. Following are my notes on creating an OGC harvesting node through GeoNetwork's harvesting service.

» Read more ETL Debug Blog

Authoritative fgdc-std-001-1998 (FGDC CSDGM) schema (XSD) and data definition document (DTD) URLs

wgrunberg's picture
wgrunberg 02/18/2010 - 4:24pm | Comments 0

Following are authoritative FGDC Content Standard for Digital Geospatial Metadata (CSDGM) XML schema document (XSD) and document type definition (DTD) URLs for FGDC-STD-001-1998. These documents are used to validate a FGDC XML metadata file.

There are also annotated and modified FGDC-STD-001-1998 schema available for download:

» Read more ETL Debug Blog

FGDC XML schema woes

wgrunberg's picture
wgrunberg 02/11/2010 - 3:23pm | Comments 1

I am working on transforming FGDC XML metadata records to the USGIN 1.1 version of ISO 19139 metadata and having a hard time finding formal FGDC schema, name spaces, and schema locations. This is what I found so far:

» Read more ETL Debug Blog

Tomcat configuration in Eclipse

wgrunberg's picture
wgrunberg 02/04/2010 - 2:43pm | Comments 1

Tomcat kept running out of memory when running it as a service from within Eclipse. Following is a solution:

Double-click on your Tomcat service under the Servers tab, and click on the "Open launch configuration" to open the Tomcat launch configuration window. On the Arguments tab, append the two following lines in the "VM arguments" form window:

-XX:MaxPermSize=128m
-Xmx1024m

How-to on running Tomcat within Eclipse:

» Read more GeoNetwork configuration and development

ISO 19139 service metadata record srv:DCPList codelist confusion

wgrunberg's picture
wgrunberg 01/11/2010 - 8:59pm | Comments 1

It appears that the GeoNetwork WMS harvest selects an incorrect codeListValue for a service metadata record's srv:DCPList (Distributed Computing Platform). Currently, it enters HTTP-GET and HTTP-POST. However, there is a bit of confusion within GeoNetwork and among standards and profiles. Specifically, one could interpret a conflict between DCP in a service's GetCapabilities (OGC) and a service's metadata record (ISO):

» Read more CSW Debug Blog, Metadata interest group

OGC Schema Issues in Relation to CSW

Ryan Clark's picture
Ryan Clark 12/16/2009 - 4:44pm | Comments 1

In order to create metadata for both static datasets and dynamic, online services and for use with CSW, the OGC created an xml schema that merges the schema for ISO19115 (dataset metadata) and ISO19119 (service metadata) (see secion D.1.5, page 105 in OGC 07-045). The way that was accomplished was by creating a schema located at http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd. The contents of that schema are quite simple -- it looks like this:

» Read more CSW Debug Blog

Public CSW services to test against

wgrunberg's picture
wgrunberg 12/14/2009 - 10:22am | Comments 0

Here are some CSW services I use to test CSW clients against

» Read more CSW Debug Blog

CSW Clients and Servers we are testing

wgrunberg's picture
wgrunberg 12/14/2009 - 9:40am | Comments 2

Following is a list of Web Service client, server, and hybrid applications we are aware of that are supposed to handle the CSW 2.0.2 protocol. Check out OGC's registry of products for more CSW implementations.

» Read more CSW Debug Blog

Installing GeoNetwork 2.4.2 under Tomcat with a MySQL Backend

Ryan Clark's picture
Ryan Clark 12/09/2009 - 3:01pm | Comments 1

Setup the MySQL Database for Geonetwork to Use

  1. From the command prompt on the instance, type the following commands:
    mysqladmin create geonetwork -u root -p

    You will be prompted for the password for the root MySQL user.

» Read more USGIN Amazon Virtual Server Development

Installation and use of Yourkit Java Profiler

Ryan Clark's picture
Ryan Clark 11/30/2009 - 3:13pm | Comments 0
  1. On the virtual machine, create a folder for, and download the Java Profiler, unzip it:
  2. mkdir yourkit (this makes the folder in the root user's home directory)
    cd yourkit
    wget http://www.yourkit.com/download/yjp-8.0.19.zip
    unzip yjp-8.0.19.zip
  3. Generate a script that allows you to use the Yourkit tool from a remote location
  4. java -jar /root/yourkit/yjp-8.0.19/lib/yjp.jar -integrate
» Read more USGIN Amazon Virtual Server Development

CatalogConnector CSW Client

wgrunberg's picture
wgrunberg 11/30/2009 - 1:29pm | Comments 1

US GIN CatalogConnetor Client (Beta)

This promising, stand-alone, Java-based, CSW web client is currently being developed by SDI Catalonia (IDEC) and USGIN at http://sourceforge.net/projects/catalogconnecto/

» Read more CSW Debug Blog

GeoNetwork authentication and CSW transactions through Python

wgrunberg's picture
wgrunberg 11/13/2009 - 5:47pm | Comments 1

 This is an example Python script that showcases GeoNetwork authentication, session handling, and CSW transactions. 

» Read more ETL Debug Blog

Connecting to GeoNetwork's MckoiDB through the Druid Database Manager

wgrunberg's picture
wgrunberg 11/13/2009 - 12:45pm | Comments 0

Here is a tutorial on how to connect to GeoNetwork's MckoiDB through the Druid Database Manager: http://geonetwork-opensource.org/documentation/how-to/druid_dbms

Note that the GeoNetwork 2.4.2 installer will not prompt you to provide a MckoiDB user name and password. Those are generated automatically and stored in

\geonetwork\web\geonetwork\WEB-INF\db\account.prop
» Read more CSW Debug Blog

XSLT transformations in Python through the Gnome libxml C parser

wgrunberg's picture
wgrunberg 11/09/2009 - 10:30am | Comments 0

This is an example script on how to do XSLT transformations in Python 2.6 through the Gnome libxml XML C parser and toolkit. The relative fast C library is available on multiple platforms but you will also need Python bindings for libxml2 and libxslt. There is a handy libxml2 and libxslt Python bindings installer for Windows which also includes the C libraries in DLL form.

» Read more ETL Debug Blog

Common Procedures on the EC2 Instance

Ryan Clark's picture
Ryan Clark 11/06/2009 - 3:51pm | Comments 0

 

"Restarting" the Virtual Machine

You can't actually restart it, instead you essentially delete it and roll-back to a prior machine image.

» Read more USGIN Amazon Virtual Server Development

Import MEF metadata archive into GeoNetwork through Python

wgrunberg's picture
wgrunberg 11/06/2009 - 2:04pm | Comments 0

This is a Python example script for importing GeoNetwork Metadata Exchange Format 1.1 (MEF) archives to GeoNetwork 2.4.2's mef.import service. The mef.import service requires a multipart/form-data POST through a modified MultipartPostHandler.py library which now supports Unicode (urllib2). It has been tested in Windows XP and Python 2.6.

» Read more ETL Debug Blog

Create GeoNetwork MEF files from ISO 19139 XML through Python

wgrunberg's picture
wgrunberg 11/06/2009 - 1:41pm | Comments 0

This is an example Python script that showcases the creation of GeoNetwork Metadata Exchange Format 1.1 (MEF) archives from ISO 19139 metadata XML files.It has been tested in Windows XP and Python 2.6.

» Read more ETL Debug Blog

Connecting to PostgreSQL via SSH Tunneling

Ryan Clark's picture
Ryan Clark 11/03/2009 - 4:02pm | Comments 0

In the event that you don't want to open port 5432 to any traffic, or you don't want to configure PostgreSQL to listen to any remote traffic, or if you simply can't make it work right (that's where I am right now...) you can use SSH Tunneling to make a remote connection to the PostgreSQL instance. Here's how:

 

» Read more USGIN Amazon Virtual Server Development

Helpful Commands!

Ryan Clark's picture
Ryan Clark 11/03/2009 - 10:14am | Comments 1

User Administration

» Read more USGIN Amazon Virtual Server Development

Useful site for CSW testing and resources

srichardAzgs's picture
srichardAzgs 10/29/2009 - 10:29am | Comments 0

CSW requirements

appears to mostly be compiled by Armin Retterath, Kompetenz- und Geschäftsstelle GDI-RP

Has listing of active CSW servers, some requirements listings

http://www.mapbender.org/CSW_Requirements

» Read more CSW Debug Blog, Metadata interest group