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

CoFIS Web coffee at uni-bonn.de
Tue Dec 22 10:35:45 EST 2009


Well,
I think the error has to do with how the the information used to create 
the java script link:

In FF looking in EXTRA - PAGE INFORMATION - MEDIA
I can see an image that fails to draw. Pasting that into a new window 
tells me "No results found":

http://www.cofis.info/atlas/php/itemquery.php?map=&mode=map&qitem=Name&qstring=Meda%20Welabu&layer=administration%2Fall&layers=all&GEOMOOSE_REFRESH=1261495258876&mapext=332065.921875+617730.22843409+611967.515625+829776.89036591&imgext=332065.921875+617730.22843409+611967.515625+829776.89036591&map_size=1237+937&imgx=618.5&imgy=468.5&imgxy=1237+937

Which files are being used to create that link?

Nils




***

 > I do use it:
 >
 > <map-source name="demis-01" type="wms" tiled="false"
 > projection="EPSG:4326" reference="true">
 >   <url>http://www2.demis.nl/WMS/wms.asp?WMS=WorldMap</url>
 >   <layer name="Coastlines" reference="true"/>
 >   <layer name="Hillshading" reference="true"/>
 >   <layer name="Spot elevations"/>
 >   <param name="format" value="image/png"/>
 > </map-source>

 > <layer title="Hillshading (default)"
 > src="demis-01/Coastlines:demis-01/Hillshading:demis-01/Spot elevations"
 > status="on" tip="More information:
 > http://www.demis.nl/home/pages/wms/docs/OpenGISWMS.htm" 
minscale="50000"/>
 >
 > and don´t really understand why it´s not accepting the
 > projection="EPSG:4326" tag. It looks like the error appears only in 
the overview map. The WMS shows up fine in the main map window.
 >
 > However, what does that have to do with the search issue?
 >
 > Nils

Len Kne schrieb:
> 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




More information about the Geomoose-users mailing list