CSW service

31 views
Skip to first unread message

wolfram.winter

unread,
Apr 27, 2018, 11:07:06 AM4/27/18
to Heron Mapping Client Development
Hi,
I would like to use a CSW service like in the catalognl demo - for testing I'm using the following url:

http://geoportal.bayern.de/csw/bvv?request=GetCapabilities&service=CSW

It works, but I didn't see the WMS/WFS buttons for loading the layers (example: filtering with 'risk wms' shows an WMS entry).


                               {
                                   ptype: "gxp_addlayers",
                                   actionTarget: "gxplayerpanel.tbar",
                                   addActionText: __('Add layers'),
                                   templatedLayerGrid: true,
                                   layerGridWidth: 640,
                                   layerGridHeight: 540,
                                   layerPreviewWidth: 40,
                                   layerPreviewHeight: 40,
                                   // Zooms to the extent of the layer after adding it to the map.  Default is true.
                                   zoomToLayer: true,
                                   owsPreviewStrategies: ['attributionlogo', 'getlegendgraphic', 'randomcolor'],
                                   // Catalog panel settings
                                   catalogPanelWidth: 540,
                                   search: {selectedSource: "suite_csw_x"},
                                   // defaultSrs: "EPSG:31467"
                                   defaultSrs: Heron.options.map.settings.projection
                               }
....
  suite_csw_x: {
      ptype: "gxp_cataloguesource",
      url: "http://geoportal.bayern.de/csw/bvv?request=GetCapabilities&service=CSW",
      title: 'BAYERN-CSW'
  }

Whats going wrong???

Just van den Broecke

unread,
Apr 29, 2018, 5:50:55 PM4/29/18
to geoext-vi...@googlegroups.com
Hi Wolfram,

The GXP CSW search was, as I remember, quite tricky to get working.
The working example for the Dutch National CSW is:
http://lib.heron-mc.org/heron/latest/examples/catalognl (try "PDOK" as
search string) with the config at
https://github.com/heron-mc/heron-mc/blob/master/heron/examples/catalognl/Config.js#L240

One difference is the CSW URL: the Heron example is without the
?request=GetCapabilities&service=CSW". But I would have to try your URL
in a dedicated example, also for that EPSG.

Best,

Just
> --
> --
> You received this message because you are subscribed to the Google
> Groups "geoext-viewer-devel" group.
> To post to this group, send email to
> geoext-vi...@googlegroups.com
> To unsubscribe from this group, send email to
> geoext-viewer-d...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/geoext-viewer-devel?hl=en
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Heron Mapping Client Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to geoext-viewer-d...@googlegroups.com
> <mailto:geoext-viewer-d...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Just van den Broecke

unread,
May 4, 2018, 8:08:00 AM5/4/18
to geoext-vi...@googlegroups.com
Hi Wolfram,

Has this been resolved? First thought your recent PRs were related to
CSW, hence.

best

Just
Reply all
Reply to author
Forward
0 new messages