[mapserver-users] ogr connection trouble

Frank Warmerdam warmerdam at pobox.com
Wed Feb 23 10:31:13 PST 2011


On 11-02-23 09:08 AM, Josh Jordan wrote:
> I am trying to get mapserver to draw an OGR layer, was wondering what this
> means in the OGRINFO readout, I get a series of fields with String (0.0), was
> wondering what (0.0) means or if its the problem?
>
> POPULATION: String (0.0)
> MALE: String (0.0)
> FEMALE: String (0.0)

Josh,

It indicates that the field width is variable.  If it used "(8.0)" that would
indicate a field width of at most 8 characters.  For floating point fields
the part following the decimal will be the number of decimal places in the
value.

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 MapServer-users mailing list