[GeoNetwork-users] GeoNetwork JavaScript API

Dear all,

I'm currently developing a web map application using GeoExt javascript API.
The web map application is supposed to give lists of available WMS layers
in a Grid panle through the help of GeoExt's WMSCapablitiesStore (imanaged
to do this). Aside this providing search capabilities for the metadata of
this WMS layers harvested by Geonetwork node is required for users to
search (simple search) and see the list of metadata which meets their
search criteria. the search response is supposed to provide the metadata
summary (title, Abstract), and the map of the selected metadata will be
added to the map viewer of the application. I tried to consult the API
document for this but it was not that much helpful for me since it lacks
examples.i also don't know how to reference the API in my html file like
other APIs such as GeoExt. so could you please help me with important
reference or idea.

please any help is appreciated!

Thank you!

Hi,

There is no "Geonetwork API" to help you retrieving your metadatas by a
search.
Either you are in Geonetwork webapp and you can do search like the
geonetwork ui does, or, if you are in a different webapp or website, you
need to make search with CSW.

Just use ExtJs, GeoExt and Openlayers to call CSW requests and read
response to load metadata informations (title, abstract) and get layers
from the metadatas (links).

You can see a perfect example on http://sdi.georchestra.org/mapfishapp/
Try "add layer" tab "catalog", and watch in your dev tools the requests.
Then apply the same for your project.
Source can be found here
https://github.com/georchestra/georchestra/tree/14.06/mapfishapp/src/main/webapp/app/js

Hope it helps

On Mon, Jan 26, 2015 at 11:12 AM, Abduselam Mohammed <abdugiswg@anonymised.com>
wrote:

Dear all,

I'm currently developing a web map application using GeoExt javascript API.
The web map application is supposed to give lists of available WMS layers
in a Grid panle through the help of GeoExt's WMSCapablitiesStore (imanaged
to do this). Aside this providing search capabilities for the metadata of
this WMS layers harvested by Geonetwork node is required for users to
search (simple search) and see the list of metadata which meets their
search criteria. the search response is supposed to provide the metadata
summary (title, Abstract), and the map of the selected metadata will be
added to the map viewer of the application. I tried to consult the API
document for this but it was not that much helpful for me since it lacks
examples.i also don't know how to reference the API in my html file like
other APIs such as GeoExt. so could you please help me with important
reference or idea.

please any help is appreciated!

Thank you!

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is
your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

--
Florent Gravin
Camptocamp - Chambéry
0479444492

Hi

Related to the search, I think you can use the q service, that has a
similar API as xml.search and should return the information you require
(title, abstract).

See
http://geonetwork-opensource.org/manuals/2.10.4/eng/developer/xml_services/metadata_xml_search_retrieve.html#search-metadata-xml-search

The q service just changes the url to be http://server/geonetwork/srv/eng/q

Regards,
Jose García

On Mon, Jan 26, 2015 at 11:27 AM, Florent Gravin <
florent.gravin@anonymised.com> wrote:

Hi,

There is no "Geonetwork API" to help you retrieving your metadatas by a
search.
Either you are in Geonetwork webapp and you can do search like the
geonetwork ui does, or, if you are in a different webapp or website, you
need to make search with CSW.

Just use ExtJs, GeoExt and Openlayers to call CSW requests and read
response to load metadata informations (title, abstract) and get layers
from the metadatas (links).

You can see a perfect example on http://sdi.georchestra.org/mapfishapp/
Try "add layer" tab "catalog", and watch in your dev tools the requests.
Then apply the same for your project.
Source can be found here

https://github.com/georchestra/georchestra/tree/14.06/mapfishapp/src/main/webapp/app/js

Hope it helps

On Mon, Jan 26, 2015 at 11:12 AM, Abduselam Mohammed <abdugiswg@anonymised.com>
wrote:

> Dear all,
>
> I'm currently developing a web map application using GeoExt javascript
API.
> The web map application is supposed to give lists of available WMS layers
> in a Grid panle through the help of GeoExt's WMSCapablitiesStore
(imanaged
> to do this). Aside this providing search capabilities for the metadata of
> this WMS layers harvested by Geonetwork node is required for users to
> search (simple search) and see the list of metadata which meets their
> search criteria. the search response is supposed to provide the metadata
> summary (title, Abstract), and the map of the selected metadata will be
> added to the map viewer of the application. I tried to consult the API
> document for this but it was not that much helpful for me since it lacks
> examples.i also don't know how to reference the API in my html file like
> other APIs such as GeoExt. so could you please help me with important
> reference or idea.
>
> please any help is appreciated!
>
> Thank you!
>
>
------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take
a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>

--
Florent Gravin
Camptocamp - Chambéry
0479444492

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is
your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net/&gt; for
details. _________________________Jose GarcíaGeoCat bvVeenderweg 136721 WD
BennekomThe Netherlandshttp://GeoCat.net/>*