Re: [gdal-dev] Padding/spacing in mysql driver output

2009-04-21 Thread Even Rouault
27; to eliminate this extra spacing in a > future release? > > Thanks again for the help, > P.Romero > -Original Message- > From: Even Rouault [mailto:even.roua...@mines-paris.org] > Sent: 2009-04-19 4:24 AM > To: gdal-dev@lists.osgeo.org > Cc: P.Romero; Frank Warmer

RE: [gdal-dev] Padding/spacing in mysql driver output

2009-04-19 Thread P.Romero
x27; to eliminate this extra spacing in a future release? Thanks again for the help, P.Romero -Original Message- From: Even Rouault [mailto:even.roua...@mines-paris.org] Sent: 2009-04-19 4:24 AM To: gdal-dev@lists.osgeo.org Cc: P.Romero; Frank Warmerdam Subject: Re: [gdal-dev] Padding/sp

Re: [gdal-dev] Padding/spacing in mysql driver output

2009-04-19 Thread Even Rouault
Hi, this behaviour is not specific to the MySQL driver. When a field has a specified width and precision, it will get formatted according to it. This behaviour was specifically introduced 10 years ago ! : http://trac.osgeo.org/gdal/changeset/745. So it looks like a behaviour by design, althoug

[gdal-dev] Padding/spacing in mysql driver output

2009-04-19 Thread P.Romero
Hi, Im new to this list. I use ogr w/ the mysql driver as part of a mapserver installation. Im having an issue with the formatting of numeric results that are being returned from a mysql query. It appears that values originating from 'double'-typed fields in the MySQL database are showing up in og