Data Retrieval from a DBF File Format
blaise
bpicinbono at WORLDONLINE.FR
Wed Mar 23 14:18:35 PST 2005
Le mercredi 23 Mars 2005 22:41, Charu Verma a écrit :
> Hi yes I have php/mapscript and php..
> Please help
>
> On Wed, 23 Mar 2005 14:04:55 +0100, blaise <bpicinbono at worldonline.fr>
wrote:
> > Le mercredi 23 Mars 2005 03:10, Charu Verma a écrit :
> > > Hi All,
> > > I have my interface ready but want to make it interactive i.e I want
> > > the user to b able to click on a point and the interface could actually
> > > display the data for that point.I have a dbf file with me including
> > > shp and shx through which I designed the map interface.
> > > Do I need to install some other applictions besides ms4w so as to
> > > establish a connectivity with the interface?Can anyone give me ideas of
> > > the way a script would look like?
> > > Please help me go ahead with this.
> > > charu
> >
> > Hi,
> > No, I don't think you have to install other applications.
> > Have you looked at the "workshop/itasca" demo and the "gmap" demo ?
> > They both have a query tool working pretty well.
> > Blaise
Charu, this is very well done either by MapServer or by Php_MapScript. Just
download the demos and look into the code.
MapServer (html, demo Itasca) :
http://mapserver.gis.umn.edu/dload.html link (top of the page): "demo"
Php_MapScript (html-php, demo gmap):
http://dl.maptools.org/dl/
download gmap-msXX.zip (or .tar.gz for linux)
(XX being your mapserver version number)
This gmap demo is online here :
http://www2.dmsolutions.ca/gmap/gmap75.phtml
see the "I" (information) tool ?
Note that for a layer to be queryable, you'll need a "TEMPLATE" statement in
the layer section of the mapfile.
Blaise
More information about the MapServer-users
mailing list