<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/geoportal/patches/" rel="alternate"/><link href="https://sourceforge.net/p/geoportal/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/geoportal/patches/</id><updated>2013-04-04T06:46:07Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Click on 'Help' throws exception in some circumstances</title><link href="https://sourceforge.net/p/geoportal/patches/22/" rel="alternate"/><published>2013-04-04T06:46:07Z</published><updated>2013-04-04T06:46:07Z</updated><author><name>Leszek Grzegorek</name><uri>https://sourceforge.net/u/leszekgrzegorek/</uri></author><id>https://sourceforge.net34aacee3502a23dd1df769e8d6f57e54959fbf36</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When hostname name contains geoportal base path string e.g. &lt;a href="http://geoportal.domain:8080/geoportal" rel="nofollow"&gt;http://geoportal.domain:8080/geoportal&lt;/a&gt;, the method 'getRootContextPath(HttpServletRequest)' from webhelp/index.jsp page throws exception saying that it can't open url to cxhelp.xml file.&lt;br /&gt;
It's caused by substring() called in com.esri.gpt.framework.context.RequestContext.resolveBaseContextPath(HttpServletRequest) - it cuts vital part of URI, e.g.&lt;br /&gt;
1. getRequestURL() = &lt;a href="http://geoportal.domain:8080/geoportal/webhelp/index.jsp" rel="nofollow"&gt;http://geoportal.domain:8080/geoportal/webhelp/index.jsp&lt;/a&gt;&lt;br /&gt;
2. getContextPath() = /geoportal&lt;/p&gt;
&lt;p&gt;call to 1.substring(0, 2+length(2)) returns URI &lt;a href="http://geoportal/webhelp/en/geoportal/cxhelp.xml" rel="nofollow"&gt;http://geoportal/webhelp/en/geoportal/cxhelp.xml&lt;/a&gt; which obviously isn't correct.&lt;/p&gt;
&lt;p&gt;The simplest patch attached appends trailing '/' to ctxPath variable. &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSW client incorrectly parses &lt;References&gt; element.</title><link href="https://sourceforge.net/p/geoportal/patches/21/" rel="alternate"/><published>2012-12-31T18:16:29Z</published><updated>2012-12-31T18:16:29Z</updated><author><name>Rafael Bedia</name><uri>https://sourceforge.net/u/rbedia/</uri></author><id>https://sourceforge.net4f649253bb19fc91fb1029849678f3d704aedadb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;CswProfile.readCSWGetMetadataByIDResponse() parses the CSW references element incorrectly. It passes the entire XML document to DcList for parsing. This means that the first reference and the last reference end up with garbage data prepended and appended.&lt;/p&gt;
&lt;p&gt;The included patch fixes this by extracting just the &amp;lt;References&amp;gt; tag out of the XML and passing that to DcList for parsing.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Extending Web Harvester example files</title><link href="https://sourceforge.net/p/geoportal/patches/20/" rel="alternate"/><published>2012-08-15T19:17:37Z</published><updated>2012-08-15T19:17:37Z</updated><author><name>eggwhites</name><uri>https://sourceforge.net/u/eggwhites/</uri></author><id>https://sourceforge.net4973d80dfb874b5cfd76a0940552caf724716d57</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This .zip is a set of files to be used with the Extending the Web Harvester documentation available at &lt;a href="http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Extending_the_Web_Harvester."&gt;http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Extending_the_Web_Harvester.&lt;/a&gt;  That documentation describes how to add support for additional protocols for harvesting from the Geoportal Server. Files are compatible with Geoportal Server version 1.2.2.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>green theme for geoportal look and feel</title><link href="https://sourceforge.net/p/geoportal/patches/19/" rel="alternate"/><published>2012-04-13T23:28:52Z</published><updated>2012-04-13T23:28:52Z</updated><author><name>eggwhites</name><uri>https://sourceforge.net/u/eggwhites/</uri></author><id>https://sourceforge.netabd89ef4333043853ec3214cd90e5b27d375d0f5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This provides a green theme that can be applied to geoportal version 1.2, and is also available from the Theme Library (http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Theme_Library).&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;To apply, unzip the file, copy the folder to the \\\\geoportal\\catalog\\skins\\themes location, and follow instructions at &lt;a href="http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Look_and_Feel_of_the_User-Interface#Change_the_default_color_theme_to_another_pre-defined_one."&gt;http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Look_and_Feel_of_the_User-Interface#Change_the_default_color_theme_to_another_pre-defined_one.&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Thumbnail in Json response</title><link href="https://sourceforge.net/p/geoportal/patches/18/" rel="alternate"/><published>2012-03-26T13:27:39Z</published><updated>2012-03-26T13:27:39Z</updated><author><name>Gianni Campanile</name><uri>https://sourceforge.net/u/gcampanile/</uri></author><id>https://sourceforge.nete6dcca4555925eddc8435b5fee56611338d2dd31</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Adds the thumbnail in Json response. Json response is extremely useful for creating webpages containing a list of metadata recorsd built up from a predefined query (for example a theme of interest). In these cases, the thumbnail is needed to show the results on the page.&lt;br /&gt;
An example is on &lt;a href="http://webgis.arpa.piemonte.it/risknat/index.php/it/frane.html" rel="nofollow"&gt;http://webgis.arpa.piemonte.it/risknat/index.php/it/frane.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Set predefined extents for Search Map</title><link href="https://sourceforge.net/p/geoportal/patches/17/" rel="alternate"/><published>2012-03-26T13:25:02Z</published><updated>2012-03-26T13:25:02Z</updated><author><name>Gianni Campanile</name><uri>https://sourceforge.net/u/gcampanile/</uri></author><id>https://sourceforge.netfe688674159123a6443534ec02cf69e234d2f4b5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Shows a list of items (for example counties) above the search map and zooms to the predefined extent when one is selected. The list is fillled by loading an xml file named extents.xml containing names and bboxes. Whene one is selected, the serach map zoomes to the loaded extent. The file containing the list of extents must be in the &amp;lt;geoportal&amp;gt;\WEB-INF\classes\gpt\config directory.&lt;br /&gt;
An example is on the website: &lt;a href="http://metadati.partout.it." rel="nofollow"&gt;http://metadati.partout.it.&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Map Viewer gets WFS and WCS links</title><link href="https://sourceforge.net/p/geoportal/patches/16/" rel="alternate"/><published>2012-03-26T13:18:55Z</published><updated>2012-03-26T13:18:55Z</updated><author><name>Gianni Campanile</name><uri>https://sourceforge.net/u/gcampanile/</uri></author><id>https://sourceforge.net45c76f7cd4fcc5b3cf7015f6224ac6cbbf361e86</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch enables the WFS and WCS links (if present on the metadata record) to be passed to the Map Viewer. Even if these links should not be considered as view services (at least the WFS), it's useful to have the FlexViewer handle all posssibile links. The default behaviour of the Geoportal is to filter these links, this patch allows these links to be passed on to the Map Viewer, as for the WMS and REST links.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Set pan as predefined option on map</title><link href="https://sourceforge.net/p/geoportal/patches/15/" rel="alternate"/><published>2012-03-26T13:01:24Z</published><updated>2012-03-26T13:01:24Z</updated><author><name>Gianni Campanile</name><uri>https://sourceforge.net/u/gcampanile/</uri></author><id>https://sourceforge.net370d4590bd3ad1d95d2821e7c377cb427fbd7bd2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sets Pan (instead of mark) as the predefined selected tool on search and editing map. When searching a metadata or when editing a new record, the predefined tool on the map is to mark a new extent. This implies that if you click on the map you loose the previous extent. Thhis simple patch sets the predefined tool to be Pan, so that a click will just pan the map while to select a new extent the appropriate tool must be selected.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple output fields for Locator</title><link href="https://sourceforge.net/p/geoportal/patches/14/" rel="alternate"/><published>2012-03-19T18:07:28Z</published><updated>2012-03-19T18:07:28Z</updated><author><name>Gianni Campanile</name><uri>https://sourceforge.net/u/gcampanile/</uri></author><id>https://sourceforge.netd216d3135ac0a6bd2ec75cebb6c249daf29a8c86</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The Locator used in the search map accept one input and one output field. This patch allows you to specify multiple output fields, to be shown on the search map, so to distinguish better among results.&lt;br /&gt;
For example, the actual gpt.xml definition is:&lt;br /&gt;
locatorUrl="http://tasks.arcgisonline.com/ArcGIS/rest/services/Locators/ESRI_Places_World/GeocodeServer"&lt;br /&gt;
locatorSingleFieldParameter = "city"/&amp;gt;&lt;br /&gt;
with this patch you can specify other output fields:&lt;br /&gt;
locatorUrl="http://tasks.arcgisonline.com/ArcGIS/rest/services/Locators/ESRI_Places_World/GeocodeServer"&lt;br /&gt;
locatorSingleFieldParameter = "PlaceName;Name,Descr,City,North_Lat"&lt;br /&gt;
The output fields must in any case be part of the possibile output fields from the Locator.&lt;br /&gt;
The patch is in diff form, but it modifies just the gpt.js file, so no need to recompile.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Makes Thumbnail clickable </title><link href="https://sourceforge.net/p/geoportal/patches/13/" rel="alternate"/><published>2012-03-19T18:00:45Z</published><updated>2012-03-19T18:00:45Z</updated><author><name>Gianni Campanile</name><uri>https://sourceforge.net/u/gcampanile/</uri></author><id>https://sourceforge.net4d6fec2c8462e456fa9474364409e657b9360fe1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The thumbnail that appears in the search results is a resized image. This patch makes the thumbnail clickable to show the original image. This is quite useful to give users a better a quick glimpse of what the service (or dataset) looks like, without having to go into preview or viewer.&lt;br /&gt;
The patch is given in the diff form, but it modifies only the results.jsp file, so no recompile is needed. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>