[Geomoose-users] Search - pink layer when clicking on link to zoom to result

Len Kne lkne at houstoneng.com
Tue Dec 22 09:13:39 EST 2009


Looking at Firebug, it's trying to load a layer from Demis in the wrong projection:

http://www2.demis.nl/WMS/wms.asp?WMS=WorldMap&TRANSPARENT=true&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&LAYERS=Coastlines&SRS=EPSG%3A32637&BBOX=-294801.5625,830496.10505,1467698.4375,1955496.10505&WIDTH=352&HEIGHT=225

It doesn't look like you are using this layer, but is it still configured as a layer in one of your map files?

Len

-----Original Message-----
From: CoFIS Web [mailto:coffee at uni-bonn.de] 
Sent: Tuesday, December 22, 2009 8:05 AM
To: GeoMoose Mailing list
Subject: [Geomoose-users] Search - pink layer when clicking on link to zoom to result

Using itemquery.php I got the search running.

If I get a unique result, GM automatically zooms to the right place and 
highlights the polygon - all fine.

Ambiguous results are displayed in the sidebar. Once clicking the link 
to zoom to one of them results in zooming to the item (visible due to 
the change in the overview map) but shows a pink (error) layer on top of 
all other layers in the main map window.

What shall I post to track the issue down?

Thanks,
Nils

You can try at http://www.cofis.info/atlas using "Ya" and "Yayu" as 
search strings.


itemqueury.php reads

<service name="search_admin">
  <url>php/itemquery.php</url>
   <step type="input">
     <input type="select" name="qitem" title="Search by:">
       <option value="wereda">Wereda</option>
       <option value="region">Region</option>
     </input>
     <input type="user" name="qstring" title=""/>
     <input type="hidden" name="layer" value="administration/all"/>
     <input type="hidden" name="zoom_to_first" value="false"/>
     <input type="hidden" name="highlight" value="true"/>
   </step>
</service>


-- 
Center for Development Research
Department of Ecology and Resource Management

Walter-Flex-Strasse 3
53113 Bonn (Germany)

Tel.:   +49 (0) 228 - 73-1793
FAX:    +49 (0) 228 - 73-1889

E-Mail: coffee at uni-bonn.de

Web:    http://www.cofis.info/atlas
         http://www.coffee.uni-bonn.de

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geomoose-users




More information about the Geomoose-users mailing list