[mapserver-users] problem with QuerybyPoint-PostGIS

orkun temiz at deprem.gov.tr
Thu Jul 17 05:23:12 PDT 2008


Hello 

Although I am following same procedure with shapefile, I can not have
success from QuerybyPoint with PostGIS ?

I want to get "cat" value of the database 

here is the my map file fragment concerning postgis :

~~~~~~~~~~~~~~
LAYER  #layer hey postgis 
CONNECTIONTYPE postgis
NAME "hey"
CONNECTION "user=orkun password=222222 dbname=bzk2 host=localhost"
DATA "wkb_geometry FROM (select ogc_fid,wkb_geometry,cat from shey61) as
foo using unique ogc_fid using SRID=32636"
STATUS ON
PROJECTION 
	proj=utm
        zone=36
	ellps=WGS84 
	no_defs 
END
TYPE POLYGON
 LABELITEM "cat"
CLASS 
   COLOR 0 0 0
   LABEL
     COLOR 0 220 0
     SIZE MEDIUM 
   END
END
END # hey
~~~~~~~~~~~~~

What might the reason be ?

regards

-- 
Ahmet Temiz
Jeo. Müh.
Afet İşleri Gen. Md.lüğü
Deprem Ar. D.

Ahmet Temiz
Geo. Eng.
General Dir. of 
Disaster Affairs



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the MapServer-users mailing list