[Mapserver-users] MAXFEATURES and postgis layer

Zamil Murji Zamil.Murji at divestco.com
Tue Aug 12 09:41:33 PDT 2003


I am trying to get the maxfeatures tag to work with a postgis layer. It just doesn't seem to work. Here is my layer definition:
LAYER
   NAME "morewells"
   TYPE point
   STATUS off
   MAXSCALE 8
   CONNECTIONTYPE postgis
   CONNECTION "user=idc dbname=idc host=sdb2 port=5432"
   DATA "the_geom from twell"
   CLASSITEM wellid
   MAXFEATURES 1
   CLASS
     COLOR 0 0 0
     SYMBOL 6
     SIZE 10
     MAXSIZE 10
     MINSIZE 10
#     TEMPLATE "c:\\mapfiles\test.html"
   END
END

Am i doing anything wrong? Does maxfeatures also work in nquery mode?
Thanks
zamil

-----Original Message-----
From: Zamil Murji 
Sent: Tuesday, August 12, 2003 9:10 AM
To: Howard Mark; mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] &WHERECLAUSES=?


Yes there is. Look into the filteritem and filter tags. Both of these can be changed dynamically from the url.

Hope this helps
Zamil

-----Original Message-----
From: Howard Mark [mailto:MHoward at spaceimaging.com]
Sent: Tuesday, August 12, 2003 8:30 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] &WHERECLAUSES=?



Is there any why to dynamically filter for features to be displayed in a
layer using a HTML template (JS/Java) or with a WMS call -- i.e.
&WHERECLAUSES = ??????
I know expressions in map files - I'm talking dynamically.


Thanks,
Mark


********************************************************************************
This message is intended only for the use of the Addressee and may
contain information that is PRIVILEGED and CONFIDENTIAL.

If you are not the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited. If you have
received this communication in error, please erase all copies of the
message and its attachments and notify Space Imaging immediately.
********************************************************************************

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list