5

I can't seem to get GeoNetwork to search through my PostGIS fields via GeoServer WMS.

According to the GeoNetwork Documentation:

it should loop over datasets served by the service and produce also metadata for each datasets

I have a simple test table with simple features in PostGIS for testing:

| id | date_creation | date_publication | Author | location                |
+----+---------------+------------------+--------+-------------------------+
| 27 |  12/24/2006   |    12/29/2006    |  MDA   | POINT(133.8855 -5.6701) |
| 24 |  02/11/1952   |    05/10/1952    |  NRO   | POINT(22.8855 -44.6701) |
| 12 |  05/12/1996   |    12/24/1956    |  CCP   | POINT(33.8855 -34.6701) |
| 99 |  12/24/2008   |    12/24/1956    |  MDA   | POINT(44.8855 -44.6701) |

enter image description here

When i run the harvester i get 2 entries in GeoNetwork. But the only way i can find the entries is if i search for the GeoServer published "Layer Name". I will not get any results if i search for an author like "MDA" in my table.

Am i missing something? Is there a setting or config for exposing the fields i want to share via metadata on GeoServer or something of the sort? Is this even possible?

1 Answer 1

4

The WMS specification is all about delivering images to the client, not feature (geometry + attribute) data. Although I have not used GeoNetwork in this way before, I do not think there is a simple way for GeoNetwork to get the vector information out of a WMS service.

GeoServer also has a WFS service; I believe that if you are to use that service, you may find that it would be able to index this data.

1
  • 1
    Just to elaborate on what you have here... the 2.7 trunk version of geonetwork has this as a new feature. It's called "OGC WFS GetFeature harvesting". Thanks for leading me into the right WFS direction.
    – CaptDragon
    Commented Mar 1, 2011 at 19:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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