[GeoNetwork-devel] Web client for searching metadata of geonetwork

Hi, I want to develope a web client for searching metadata of geonetwork.
The main page its a simple form with some fields (similar to the advanced search of geonetwork, title, abstract,bbox).
I would like to know the possibilities to do this, and if I need to use some tecnology (java,php,soap) or I can use only static pages (html,js).
Thanks

Hi Francisco,

The easiest solution I think is doing a RSS search and then parse the
GeoRSS feed (XML) that you get back.

Example:
http://localhost:8080/geonetwork/srv/en/rss.search?any=[yoursearchkeyword]
http://bluenet.its.utas.edu.au/geonetwork/srv/en/rss.search?title=[yoursearchkeyword]
I don't know what other fields can be used, but I would assume that you
can use the form field names as the parameters in your URL.

Does that help?

Cheers, Roald

On Wed, 2008-12-17 at 22:59 +1030, Francisco Arrebola Pascual wrote:

Hi, I want to develope a web client for searching metadata of
geonetwork.
The main page its a simple form with some fields (similar to the
advanced search of geonetwork, title, abstract,bbox).
I would like to know the possibilities to do this, and if I need to
use some tecnology (java,php,soap) or I can use only static pages
(html,js).
Thanks

--
Roald de Wit
Software Engineer
roald.dewit@anonymised.com

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/

Hi Francisco,

I think you have many solutions for that using : XML services (xml.search, xml.metadata.get …), RSS search as mentionned by Roald, or CS-W protocol.
Depends on your needs and what you want to achieve with metadata you retrieved in your interface.
Feel free to ask for more details if needed,

HTH,
Cheers,

Mathieu

On Wed, Dec 17, 2008 at 1:29 PM, Francisco Arrebola Pascual <ricken11@anonymised.com> wrote:

Hi, I want to develope a web client for searching metadata of geonetwork.
The main page its a simple form with some fields (similar to the advanced search of geonetwork, title, abstract,bbox).
I would like to know the possibilities to do this, and if I need to use some tecnology (java,php,soap) or I can use only static pages (html,js).
Thanks


SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can’t happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


Mathieu Coudert
mcoudert@anonymised.com

Hi, thanks a lot for this information.
I will explain my problem.
I have a page with some textboxes like: title, abstract, keywords, category, dealer, contact…and the coordinates for a extent search too. (very similar to the advanced search of geonetwork, but I want a separated service)
I think the best option is to use CSW protocol, because allow me to do more advanced queries.
I know that exists a lot of ways to implemet CSW protocol, but I need to integrate my proyect in a PHP CMS.
In this point, the best way to implement CSW in PHP is using SOAP, or there are other options?
Thanks again

2008/12/19 Mathieu Coudert <mcoudert@anonymised.com>

Hi Francisco,

I think you have many solutions for that using : XML services (xml.search, xml.metadata.get …), RSS search as mentionned by Roald, or CS-W protocol.
Depends on your needs and what you want to achieve with metadata you retrieved in your interface.
Feel free to ask for more details if needed,

HTH,
Cheers,

Mathieu

On Wed, Dec 17, 2008 at 1:29 PM, Francisco Arrebola Pascual <ricken11@anonymised.com> wrote:

Hi, I want to develope a web client for searching metadata of geonetwork.
The main page its a simple form with some fields (similar to the advanced search of geonetwork, title, abstract,bbox).
I would like to know the possibilities to do this, and if I need to use some tecnology (java,php,soap) or I can use only static pages (html,js).
Thanks


SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can’t happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


Mathieu Coudert
mcoudert@anonymised.com


Un día te encontré y al otro te perdí

On Fri, Dec 19, 2008 at 10:02 AM, Francisco <ricken11@anonymised.com> wrote:

Hi, thanks a lot for this information.
I will explain my problem.
I have a page with some textboxes like: title, abstract, keywords, category, dealer, contact…and the coordinates for a extent search too. (very similar to the advanced search of geonetwork, but I want a separated service)
I think the best option is to use CSW protocol, because allow me to do more advanced queries.

Indeed! However, CSW is still in progress and proposals to improved it will be deliver in few weeks.

I know that exists a lot of ways to implemet CSW protocol, but I need to integrate my proyect in a PHP CMS.
In this point, the best way to implement CSW in PHP is using SOAP, or there are other options?

You do not need to implement CSW, you just have to send it requests using GET/POST/SOAP, and deal with the CSW answer to display your results in your interface. So maybe you will have to deal with XML answers in PHP or javascript as well.

Cheers,

Mathieu

Thanks Mathieu,
Could we study this 3 posiblities GET/POST/SOAP?
Which is the best for a GetRecords request?
I think that GET request is the easiest but is limited.
Is it posible to specify a query like this at the “constraint” parameter?:

------- title like ‘%europe spain%’ AND abstract like ‘%rivers%’ AND bbox = “minx,miny,maxx,maxy” …

2008/12/19 Mathieu Coudert <mcoudert@anonymised.com>

On Fri, Dec 19, 2008 at 10:02 AM, Francisco <ricken11@anonymised.com> wrote:

Hi, thanks a lot for this information.
I will explain my problem.
I have a page with some textboxes like: title, abstract, keywords, category, dealer, contact…and the coordinates for a extent search too. (very similar to the advanced search of geonetwork, but I want a separated service)
I think the best option is to use CSW protocol, because allow me to do more advanced queries.

Indeed! However, CSW is still in progress and proposals to improved it will be deliver in few weeks.

I know that exists a lot of ways to implemet CSW protocol, but I need to integrate my proyect in a PHP CMS.
In this point, the best way to implement CSW in PHP is using SOAP, or there are other options?

You do not need to implement CSW, you just have to send it requests using GET/POST/SOAP, and deal with the CSW answer to display your results in your interface. So maybe you will have to deal with XML answers in PHP or javascript as well.

Cheers,

Mathieu


Un día te encontré y al otro te perdí

Hi Francisco,

Francisco wrote:

Thanks Mathieu,
Could we study this 3 posiblities GET/POST/SOAP?
Which is the best for a GetRecords request?

in geocat.ch sandbox we have a CSW JS client using Get or Post method.

I think that GET request is the easiest but is limited.

GET/POST/SOAP will be the same. But some CSW operation could be only available in some of them. For example, Transaction operation in CSW are only available via POST/SOAP.

Is it posible to specify a query like this at the "constraint" parameter?:

------- title like '%europe spain%' AND abstract like '%rivers%' AND bbox = "minx,miny,maxx,maxy" ........

Take care with CQL as CQL parser is not so nice for now in 2.2.0 (cf.
http://www.nabble.com/Is-it-me-or-is-the-CSW-common-query-language-just-wrong-in-2.2.0---SEC%3DUNCLASSIFIED--td18864856.html#a19855027 ). We are currently migrating to GeoTools CQL parser.
With 2.2.0, using Filter encoding is probably better.

HTH.

Francois

2008/12/19 Mathieu Coudert <mcoudert@anonymised.com <mailto:mcoudert@anonymised.com>>

    On Fri, Dec 19, 2008 at 10:02 AM, Francisco <ricken11@anonymised.com
    <mailto:ricken11@anonymised.com>> wrote:

        Hi, thanks a lot for this information.
        I will explain my problem.
        I have a page with some textboxes like: title, abstract,
        keywords, category, dealer, contact...and the coordinates for a
        extent search too. (very similar to the advanced search of
        geonetwork, but I want a separated service)
        I think the best option is to use CSW protocol, because allow me
        to do more advanced queries.

         Indeed! However, CSW is still in progress and proposals to improved
    it will be deliver in few weeks.

        I know that exists a lot of ways to implemet CSW protocol, but I
        need to integrate my proyect in a PHP CMS.
        In this point, the best way to implement CSW in PHP is using
        SOAP, or there are other options?

    You do not need to implement CSW, you just have to send it requests
    using GET/POST/SOAP, and deal with the CSW answer to display your
    results in your interface. So maybe you will have to deal with XML
    answers in PHP or javascript as well.

    Cheers,

    Mathieu

--
Un día te encontré y al otro te perdí

------------------------------------------------------------------------

------------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork