[Mapserver-users] get columns names from dbf files

Howard Mark MHoward at spaceimaging.com
Mon Aug 25 10:16:57 EDT 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C36B13.621E89A8
Content-Type: text/plain; charset="x-user-defined"

Guillermo,
    I've used two tools to do this,
one is CONVERT from US Dept of Commerce  
Converts files from:                  to:
                    ASCII delimited      ASCII delimited
                    Fixed field          Fixed Field
                    dBase (.DBF)         Lotus 1-2-3 (.WKS)
The other is 
DBF2CSV which is perl and will run on a PC or UNIX.
 
A quick search should get you to download pages.
If not, let me know and I'll send you the files.
 
Mark
              

-----Original Message-----
From: Guillermo Felipe [mailto:gfmb at tutopia.com]
Sent: Saturday, August 23, 2003 9:44 AM
To: mapserver users
Subject: [Mapserver-users] get columns names from dbf files


Hello,
 
I'm looking for a open tool or library to read .dbf files and get the
columns names and values in order to put this information automatically in
the class section of the map file. 
 
Does somebody know a way to do this?
 
 
Thanks
 
guillermo



********************************************************************************
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.
********************************************************************************


------_=_NextPart_001_01C36B13.621E89A8
Content-Type: text/html; charset="x-user-defined"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=x-user-defined">


<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><SPAN class=341410914-25082003><FONT color=#0000ff 
size=2>Guillermo,</FONT></SPAN></DIV>
<DIV><SPAN class=341410914-25082003><FONT color=#0000ff 
size=2>&nbsp;&nbsp;&nbsp; I've used two tools to do this,</FONT></SPAN></DIV>
<DIV><SPAN class=341410914-25082003><FONT color=#0000ff size=2>one is 
CONVERT&nbsp;from&nbsp;<SPAN class=528481514-25082003>US </SPAN>Dept of 
Commerce&nbsp;&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=341410914-25082003><FONT color=#0000ff size=2>Converts files 
from:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
to:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ASCII delimited&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASCII 
delimited<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Fixed field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fixed 
Field<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
dBase (.DBF)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lotus 1-2-3 
(.WKS)<BR>The other is&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=341410914-25082003><FONT color=#0000ff size=2>DBF2CSV which is 
perl and will run on a PC or UNIX.</FONT></SPAN></DIV>
<DIV><SPAN class=341410914-25082003><FONT color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=341410914-25082003><FONT color=#0000ff><FONT size=2>A 
quick&nbsp;<SPAN class=528481514-25082003>search should get you to download 
pages.</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=341410914-25082003><FONT color=#0000ff><FONT size=2><SPAN 
class=528481514-25082003>If not, let me know and I'll send you the 
files.</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=341410914-25082003><FONT color=#0000ff><FONT size=2><SPAN 
class=528481514-25082003></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=341410914-25082003><FONT color=#0000ff><FONT size=2><SPAN 
class=528481514-25082003>Mark</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=341410914-25082003><FONT color=#0000ff 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN></DIV></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Guillermo Felipe 
  [mailto:gfmb at tutopia.com]<BR><B>Sent:</B> Saturday, August 23, 2003 9:44 
  AM<BR><B>To:</B> mapserver users<BR><B>Subject:</B> [Mapserver-users] get 
  columns names from dbf files<BR><BR></FONT></DIV>
  <DIV><FONT size=2>Hello,</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2>I'm looking for a open tool or library to read .dbf files 
  and get the columns names&nbsp;and values in order to put this information 
  automatically in the class section of the map file.&nbsp;</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2>Does somebody know a way to do this?</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2>Thanks</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2>guillermo</FONT></DIV></BLOCKQUOTE><FONT SIZE=3><BR>
<BR>
********************************************************************************<BR>
This message is intended only for the use of the Addressee and may<BR>
contain information that is PRIVILEGED and CONFIDENTIAL.<BR>
<BR>
If you are not the intended recipient, you are hereby notified that any<BR>
dissemination of this communication is strictly prohibited. If you have<BR>
received this communication in error, please erase all copies of the<BR>
message and its attachments and notify Space Imaging immediately.<BR>
********************************************************************************<BR>
</FONT>
</BODY></HTML>

------_=_NextPart_001_01C36B13.621E89A8--



More information about the mapserver-users mailing list