[FWTools] Specific number format for columns in DBF Files

"Möckel, Alexander" Alexander.Moeckel at ibykus.de
Tue Nov 8 03:11:07 EST 2005


Frank,
do you have any plans to include that precision options in the .gfs files in one of the next versions/updates?

Best Regards
Alex

> -----Original Message-----
> From: Frank Warmerdam [mailto:warmerdam at pobox.com] 
> Sent: Friday, November 04, 2005 3:57 PM
> To: Möckel, Alexander
> Cc: fwtools at lists.maptools.org
> Subject: Re: [FWTools] Specific number format for columns in DBF Files
> 
> 
> On 11/4/05, "Möckel, Alexander" <Alexander.Moeckel at ibykus.de> wrote:
> > Hi List,
> > I have the problem, that a third party tool cannot write correctly 
> > into a DBF file which is created with ogr2ogr when 
> converting data to 
> > ESRI-Shape. The column has that definition "DAT,N,24,15" and should 
> > have that one "DAT,N,12,2". I don't know, why that tools 
> has problems, 
> > but I ca't do anything against that :( Now the question: 
> Can I define 
> > somewehre (in GFS File?) the format of the column? Is ther 
> somewhere a 
> > documentation about what one can define in the gfs file?
> 
> Alex,
> 
> Good question.  Unfortunately, it seems I neglected to 
> include any precision options in the .gfs files.  You could 
> likely write a python script or C++ program to translate the 
> data with the desired precision but that would be quite a bit 
> of work.  You might find it easier to use some sort of 
> "dbase" type program to convert the .dbf file in advance.
> 
> Best regards,
> --
> ---------------------------------------+----------------------
> ----------
> ---------------------------------------+------
> I set the clouds in motion - turn up   | Frank Warmerdam, 
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial 
> Programmer for Rent
> 



More information about the FWTools mailing list