Dear Everyone,
Hope that you people can help me on this: 
I have two grouped layer in my mapfile. The data is visualized correctly, 
according to the current scale. However, if I use the identify tool on a small 
scale, between 1 and 500000 (see group "rivers25"), it still shows in the 
pop-up data window the data from the SELECT statement made in the group 
"rivers200". Here's the mapfile code:
 
       LAYER

             NAME "rivers200"

             GROUP "Fluesse"

             CONNECTIONTYPE postgis

             CONNECTION "user=yyy password=zzz dbname=RETICAH host=localhost"

             TYPE LINE

             MAXSCALE 1600000

             MINSCALE 500000

             DATA "the_geom FROM (SELECT gid, the_geom, name, km_start FROM 
static_hydro_ch.hydrography200_l) as foo using srid=21781 using unique gid"

             #PROCESSING "CLOSE_CONNECTION=DEFER"

             TOLERANCE 3

             TOLERANCEUNITS pixels

             PROJECTION

                    "init=epsg:21781"

             END

             METADATA 

                    "DESCRIPTION" "gwn200"

                    "RESULT_FIELDS" "name, km_start"

                    "RESULT_HEADERS" "Name, Start"

             END   

             CLASS

                    Name 'rivers200'

                    COLOR 0 0 255

                    TEMPLATE void

             END   

       END

 

       LAYER

             NAME "rivers25"

             GROUP "Fluesse"

             CONNECTIONTYPE postgis

             CONNECTION "user=yyy password=zzz dbname=RETICAH host=localhost"

             TYPE LINE

             MAXSCALE 500000

             MINSCALE 1

             DATA "the_geom FROM (SELECT gid, the_geom, name, gewissnr FROM 
static_hydro_ch.hydrography25_l) as foo using srid=21781 using unique gid"

             TOLERANCE 2

             TOLERANCEUNITS pixels

             PROJECTION

                    "init=epsg:21781"

             END

             METADATA 

                    "DESCRIPTION" "gwn25"

                    "RESULT_FIELDS" "name, gewissnr"

                    "RESULT_HEADERS" "Name, Gewiss Nr."

             END   

             CLASS

                    Name 'rivers25'

                    COLOR 0 0 255

                    TEMPLATE void

             END  

 

       END  

 

Many thanks in advance,
Christophe Lienert
 
_______________________________________________
Christophe Lienert  
ETH Zurich  
Institute of Cartography  
Wolfgang-Pauli-Str. 15  
HIL G 13.3  
CH-8093 Zurich
 
Fon: +41-44-6333036  
Fax: +41-44-6221153 
http://www.karto.ethz.ch <http://www.karto.ethz.ch/>   
mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  
<mailto:[EMAIL PROTECTED]> 
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to