[Shapelib] Date attribute support

Mateusz Loskot mateusz at loskot.net
Fri Jun 23 20:58:56 EDT 2006


Frank Warmerdam wrote:
> Mateusz Loskot wrote:
>> Hi,
>>
>> Does current/CVS version of Shapelib support date type for attributes
>> (DBF table)?
>> AFAIK OGR supports date data type.
>> I tried to dump DBF table with date fields using dbfdump utility from
>> Shaplib 1.2.10 and I got date fields reported as string.
> 
> Mateusz,
> 
> Shapelib does not have a "date" field type.  But applications can use the
> native field type functions to find out if a field is a date, and to create
> date fields.  That is what OGR does to implement date support.   I'm not
> really keen at this point in adding a lot of special field types in the
> dbf code of shapelib.

Frank,

Thanks for this explanation.
That's OK for me, I was just curious.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the Shapelib mailing list