<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Flex FindDataWidget only works if basemap in SpatialRef: 102100 (EPSG 3857) in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/flex-finddatawidget-only-works-if-basemap-in/m-p/253640#M14467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Update: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FindDataWidget.mxml - &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Function :&amp;nbsp;&amp;nbsp; private function doSearch():void &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Line (616) :&amp;nbsp; extent = projectionToGpt.reprojectExtent(extent);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;calls ProjectionHandler: public function reprojectExtent(extent:Extent):Extent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which throws an error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Error(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Geometry services will be needed for this reprojectin. TBD");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This line throws an exception when the basemap has spatial reference 3057, using this service: &lt;/SPAN&gt;&lt;A href="http://atlas.lmi.is/lmigis/rest/services/kort/grunnkort_gatt/MapServer"&gt;http://atlas.lmi.is/lmigis/rest/services/kort/grunnkort_gatt/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I guess this will just have to wait for the version that uses GeometryService &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or I add a patch that uses geometry service. For now I will just not use that basemap&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2012 09:36:00 GMT</pubDate>
    <dc:creator>BrandurSigurjonsson</dc:creator>
    <dc:date>2012-04-04T09:36:00Z</dc:date>
    <item>
      <title>Flex FindDataWidget only works if basemap in SpatialRef: 102100 (EPSG 3857)</title>
      <link>https://community.esri.com/t5/data-management-questions/flex-finddatawidget-only-works-if-basemap-in/m-p/253639#M14466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using version ArcGIS for INSPIRE geoportal SP2 and Glassfish 3.1.1(build 12)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have discovered behavior&amp;nbsp; that I am not sure if is a bug or by design.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The FindDataWidget.swf sends a request to my geoportal&amp;nbsp; when using the orginal config.xml for the geoportal flex viewer. The request grabbed from the browser is like this (searching for :sam*)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://geotest.lmi.is:8080/geoportal/viewer/geoportal/proxy.jsp?http%3A//geotest.lmi.is%3A8080/geoportal/viewer/../rest/find/document%3F%26searchText%3Dsam*%26f%3Dgeorss%26start%3D1%26max%3D10"&gt;http://geotest.lmi.is:8080/geoportal/viewer/geoportal/proxy.jsp?http%3A//geotest.lmi.is%3A8080/geoportal/viewer/../rest/find/document%3F%26searchText%3Dsam*%26f%3Dgeorss%26start%3D1%26max%3D10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the request part that the proxy.jsp gets is like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://geotest.lmi.is:8080/geoportal/viewer/../rest/find/document?&amp;amp;searchText=sam*&amp;amp;f=georss&amp;amp;start=1&amp;amp;max=10"&gt;http://geotest.lmi.is:8080/geoportal/viewer/../rest/find/document?&amp;amp;searchText=sam*&amp;amp;f=georss&amp;amp;start=1&amp;amp;max=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However if I switch to the Icelandic basemap using SpatialRef 3057 the browser just sends no request and the wait circle just goes on and on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached are the orginal geoportal flex viewer config.xml and also the one using 3057 basemaps (config_is.xml)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The FindDataWidget.xml is in its original state as it came with SP2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I will have to set up the development environment for the FlexViewer source and the FindDataWidget to be able to debug this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS. I created my own basemap of Iceland in EPSG 3857 and when I use that the seach is fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 09:39:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/flex-finddatawidget-only-works-if-basemap-in/m-p/253639#M14466</guid>
      <dc:creator>BrandurSigurjonsson</dc:creator>
      <dc:date>2012-03-29T09:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Flex FindDataWidget only works if basemap in SpatialRef: 102100 (EPSG 3857)</title>
      <link>https://community.esri.com/t5/data-management-questions/flex-finddatawidget-only-works-if-basemap-in/m-p/253640#M14467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Update: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FindDataWidget.mxml - &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Function :&amp;nbsp;&amp;nbsp; private function doSearch():void &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Line (616) :&amp;nbsp; extent = projectionToGpt.reprojectExtent(extent);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;calls ProjectionHandler: public function reprojectExtent(extent:Extent):Extent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which throws an error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Error(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Geometry services will be needed for this reprojectin. TBD");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This line throws an exception when the basemap has spatial reference 3057, using this service: &lt;/SPAN&gt;&lt;A href="http://atlas.lmi.is/lmigis/rest/services/kort/grunnkort_gatt/MapServer"&gt;http://atlas.lmi.is/lmigis/rest/services/kort/grunnkort_gatt/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I guess this will just have to wait for the version that uses GeometryService &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or I add a patch that uses geometry service. For now I will just not use that basemap&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 09:36:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/flex-finddatawidget-only-works-if-basemap-in/m-p/253640#M14467</guid>
      <dc:creator>BrandurSigurjonsson</dc:creator>
      <dc:date>2012-04-04T09:36:00Z</dc:date>
    </item>
  </channel>
</rss>

