[mapserver-users] Search function always ends with "no matching results"

yadirosadi yadi.rosadi at gmail.com
Tue Mar 2 21:16:19 PST 2010


Hi All, 

I'm Yadi Rosadi I Have problem with search and queries on Kamap Using
Postgis the search-function always ends with "no matching results". if I
Using a shapefile, the search-function work

Any ideas why Kamap treats data from shapefiles and databases do different ?


This is the Layer :

LAYER
  	GROUP 'sd'
    NAME 'sd'
    TYPE POINT

    CONNECTIONTYPE postgis
    CONNECTION "host=localhost port=5432 user='postgres' password='postgres'
dbname='sigpilkada' "
    DATA "the_geom FROM sd"
	METADATA
		'wms_title' 'sd	'
        "queryable" "true"
		"searchfield" "nama_objek"
		"fields" "nama_objek:alias1, sek_alamat:alias2"
    END   
   
    STATUS ON
    TRANSPARENCY 100
	PROJECTION
    'proj=longlat'
    'ellps=WGS84'
    'datum=WGS84'
    'no_defs'
	''
    END
    LABELITEM 'nama_objek'
    CLASS
	template "template.html"	
	NAME 'sd' 
	       STYLE
         SYMBOL 'logo-diknas2' 
		 SIZE 15
       END
       
	    LABEL 
      SIZE medium
      COLOR 255 0 0 
      ANGLE 0

     END 

	 template "template.html"
    END
	
  END


-- 
View this message in context: http://n2.nabble.com/Search-function-always-ends-with-no-matching-results-tp4665652p4665652.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list