Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Can GeoNetwork be used to store Metadata for a PostGIS table? Or is it only for WMS/WFS services?

If it can be used to create a store metadata for a PostGIS table, how is it done? I can't seem to find this in the GeoNetwork documentation.

Thanks.

DBlack

share|improve this question
add comment

3 Answers 3

I've looked into this a lot too, and have come to the conclusion that it's not possible. The only way of doing it seems to be to create wms/wfs services from your postgis data, using geoserver or mapserver (for example) and then harvesting the metadata from these using geonetworks harvesting options. There are still some caveats to using this approach, which is that re-running the harvesting will over-write any changes made in geonetwork to the metadata. I'm not sure how to get around that yet!

share|improve this answer
    
Thanks for the answer. Yeah that is a bugger! I thought there would be a db option when filling out the distribution information, where you could specify the db and access constraints....oh well –  DBlack Dec 15 '10 at 20:24
    
I would like point your attention to this post to see if you guys can help me out: gis.stackexchange.com/questions/6540/… –  CaptDragon Feb 25 '11 at 16:22
    
Found us a solution. See my answer. –  CaptDragon Mar 1 '11 at 19:40
add comment

Finally this is being implemented. The 2.7 trunk version of GeoNetwork has this capability. It's called "OGC WFS GetFeature harvesting". You can specify the query on your PostGIS and map those fields to metadata using a template.

More info in the Harvesing Documentation:

https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/trunk/docs/eng/users/source/admin/harvesting/index.rst

. OGC WFS GetFeature response Metadata can be present in the tables of a relational databases, which are commonly used by many organisations. Putting an OGC Web Feature Service (WFS) over a relational database will allow metadata to be extracted via standard query mechanisms. This harvesting type allows the user to specify a GetFeature query and map information from the features to fragments of metadata that can be linked or copied into a template to create metadata records.

share|improve this answer
add comment

a straight answer to your question would be, sure. Just create a metadata for dataset (ISO19115) document in geonetwork for your (postgis) dataset using the geonetwork forms. But by reading the replies I noticed you probably wanted to ask: Can Geonetwork harvest the contents of a PostGis dataset (to be used as for example keywords in a metadata document)?

In that case the answer would be no. Geonetwork currently does not offer functionality to harvest metadata from postgis. But hey, what's the use-case here? Where in PostGis is the actual dataset-metadata to harvest (author, organisation, license). Usually one would add this metadata separate to the actual data in for example GeoNetwork...

But in case you just want to retrieve table-structure and contents to be used as keywords with your metadata. Have a look at OGC WFS GetFeature harvesting (GN-trunk/2.8RC1 to be released this weeks) or use a feature-catalog

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.