dear all.

my problem is no result when i click polygon, the polygon success load but
the information/identify show no result, 
i try with change TYPE with LINE and POINT it works the identify show value
but the POLYGON is no result.

this is my layer

LAYER
        NAME "panen"
        TYPE polygon
        STATUS ON
        CONNECTIONTYPE OGR
        CONNECTION "MySQL:plantation,user=root,password=root234,port=3306"
        DATA "SELECT OGR_FID, shape, id,jumlah_pan, pelihara, pupuk from
zone1"
        TRANSPARENCY 100
                TEMPLATE void
                PROJECTION
                        "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs  
no_defs"
                END
        METADATA 
                        "DESCRIPTION" "Panen"
                        "RESULT_FIELDS" "Id,jumlah_pan,pelihara,pupuk"
                        "RESULT_HEADERS" "Block ID,Jumlah 
Panen,Pemeliharaan,Pemupukan"
                        "ows_title"      "panen"
                END  # Metadata
        CLASS
            Name 'Panen > 4 ton'
                        EXPRESSION ([jumlah_pan] > 4)
            COLOR 200 220 200
            OUTLINECOLOR 200 100 0
        END #class 
        CLASS
            Name 'Panen Antara 2 & 4 ton'
                        EXPRESSION ([jumlah_pan] <= 4 AND [jumlah_pan] >= 2)
            COLOR 255 200 200
            OUTLINECOLOR 200 100 0
        END #class 
        CLASS
            Name 'Panen Di Bawah 2 ton'
                        EXPRESSION ([jumlah_pan] < 2)
            COLOR 255 0 0 
            OUTLINECOLOR 200 100 0
        END #class 
END #layer

help me to solve this case.

thank you so much.

BR,

Puja
-- 
View this message in context: 
http://old.nabble.com/identify-show-no-result-when-load-polygon-in-mysql-tp33924024p33924024.html
Sent from the pmapper users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to