MapServer / MapServer-import

3 stars 2 forks source link

get field types function #820

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: monicasocol@cuestasys.com Date: 2004/08/16 - 22:47

Function that returns the field types for fields in a shape file. This is 
necessary for creation of any tabular queries on-the-fly. 
There is a function defined into PHP 5 (dbase_get_header_info), but mapscript 
does not support PHP version 5, so there is no way to use it.
tbonfort commented 12 years ago

Author: sgillies@frii.com Date: 2004/08/17 - 03:30

There is an itemObj structure in mapprimitive.h but I can't find anywhere that
it is used.  Was there a time when someone thought of changing layerObj items
from char **items to itemObj *items?
tbonfort commented 12 years ago

Author: dmorissette Date: 2004/08/17 - 14:02

Yes, I started work on this several months ago in bug 462 but never found time
to finish it. I'll see if I could wrap this up quickly today (probably not), but
if you want to tackle this then I could send you the diff for the stuff that I
haven't committed to CVS yet (there is still more work to do, it's not just a
matter of committing to CVS).

I won't close this bug yet since bug 462 was focused on WFS and didn't include
plans to expose the types in MapScript.