[Mapserver-users] Re: Query data PHP/Mapscript

pkishor_98 pkishor@geoanalytics.com
Tue, 25 Mar 2003 21:37:17 -0000


--- In mapserver-users@yahoogroups.com, "Jim Burnett" <r000t@a...> wrote:
> Yeah I looked in the dbase methods but they dont work 
> with any of the dbf
> files I have. Actually Excel and Access can even read 
> them.  Any clues?

I am assuming you meant to write "Actually Excel and Access _can't_
even read..."


Since neither Excel nor Access can read these dbf files, they are
probably not dbf files created by dbase, or compatible with the dbase
format. In all likelihood, these are foxpro files. In which case, your
best bet would be to use the foxpro odbc driver, and access the files
as odbc datasources.





> 
> 
> ----- Original Message -----
> From: "pkishor_98" <pkishor@g...>
> To: <mapserver-users@l...>
> Sent: Tuesday, March 25, 2003 3:57 PM
> Subject: [Mapserver-users] Re: Query data PHP/Mapscript
> 
> 
> > --- In mapserver-users@yahoogroups.com, "Jim Burnett" <r000t@a...>
wrote:
> > > Hey all, looks like spring is here at last!
> > >
> > > Anywho, I want to search a dbf file for some data ( not map ). For
> > example I have a parcel layer that I want to search on. I want to get
> > all the "smiths" or whatever I want to search on. Can this be done?
> >
> >
> > sure... check out the dbase methods in php. make sure php is compiled
> > with dbase.
> >
> > since dbf is a crummy format, you will have to loop through each row,
> > and within each row, loop through each field, unless you know which
> > field you are searching for, until you find what you are looking for.
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users@l...
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users@l...
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

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