Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to find either some documentation or an example of how to manually populate the GeoPortal metadata datastore.

I'm using a MySQL backend. Given a ISO XML file I can manually harvest it but this is tedious and doesn't fit with our model. I can easily write a script to populate entries in the SQL database but it appears that there is more to it than just adding entries to SQL, there is a part that goes into the Lucene engine as well.

Does anyone have any experience or can provide a simple example, how-to or preferably some documentation on populating the datastore?

The goal is to have GeoPortal as an external catalog of locally registered datasets, the trouble is registering the datasets with the GeoPortal catalog in a preemptive manner rather than a reactive (having an administrator manually "harvest" or ingest resources).

share|improve this question

closed as off-topic by PolyGeo Jun 1 at 7:13

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

    
I suggest you look at this topic on the Geoportal Server wiki on Extending the Web Harvester – marten hogeweg Sep 13 '13 at 21:07