Thumbnail in Catalog

36 views
Skip to first unread message
Assigned to surendhar.d...@geosolutionsgroup.com by lorenzo...@geosolutionsgroup.com

Bernhard Snizek

unread,
Apr 25, 2024, 4:28:59 PM4/25/24
to mapstore-users
How can I set thumbnails/previews in the Catalog?

Thanx

/B

CM BaseMap

Surendhar Dharmalingam

unread,
Sep 26, 2024, 7:55:34 AM9/26/24
to mapstore-users
Hi Bernhard,

The thumbnails in the catalog records are configured on the service (payload) based on service types. MapStore parses the payload to obtain thumbnail URLs for display in the catalog records, but these thumbnails cannot be configured directly within MapStore. 
Example: CSW
<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecordsResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd">
  <csw:SearchStatus timestamp="2024-09-26T11:29:25.808371Z" />
  <csw:SearchResults numberOfRecordsMatched="10" numberOfRecordsReturned="4" elementSet="full" nextRecord="5">
    <csw:Record xmlns:geonet="..." xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dct="http://purl.org/dc/terms/" xmlns:ows="http://www.opengis.net/ows">
      <dc:identifier>e237291e-dfdb-4c69-9632-c6c4c53afb85</dc:identifier>
      <dc:date>2019-07-02T14:26:54</dc:date>
      <dc:title>some-title</dc:title>
      <dc:type>dataset</dc:type>
      <dc:subject>some_subject</dc:subject>
      <dc:format>GeoTiff</dc:format>
      <ows:BoundingBox crs="urn:ogc:def:crs:EPSG:6.6:4326">
        <ows:LowerCorner>48.49 -1.55</ows:LowerCorner>
        <ows:UpperCorner>48.55 -1.46</ows:UpperCorner>
      </ows:BoundingBox>
      <dc:URI protocol="image/png">https://example.com/thumbnail.png</dc:URI>
    </csw:Record>
  </csw:SearchResults>
</csw:GetRecordsResponse>


Surendhar Dharmalingam

unread,
Jan 27, 2026, 5:08:56 AM (9 days ago) Jan 27
to mapstore-users
  Marking this issue as resolved due to inactivity. Please feel free to reopen if the issue persists  

Reply all
Reply to author
Forward
0 new messages