[GRASS-dev] standard input options messed up in current CVS

Benjamin Ducke benjamin.ducke at ufg.uni-kiel.de
Tue May 15 04:04:06 EDT 2007

I just did another CVS update, made distclean, reconfigured, recompiled.
Still the same problems.

This is the dump of "v.out.ogr -help":

  output   Name for output vector map
     cat   Feature type. Combination of types is not supported by all
           options: point,kernel,centroid,line,boundary,area,face
           default: line,boundary
     dsn   OGR output datasource name. For example:
                ESRI Shapefile: filename or directory for storage
                MapInfo File: filename or directory for storage
  olayer   OGR layer name. If not specified, input name is used.
                ESRI Shapefile: shapefile name
                MapInfo File: mapinfo file name
    cats   Category values
           Example: 1,3,7-9,13
  format   OGR format
           default: ESRI_Shapefile
    dsco   OGR dataset creation option (format specific, NAME=VALUE)
     lco   OGR layer creation option (format specific, NAME=VALUE)

As you can see, "input" is missing, option "type" is called "cat", I
don't get option "layer" anymore and option "cats" has been added
instead. Pretty weird.

In addition v.in.ogr now complains about not being able to find object
"G_str_to_sql" in "libgrass_gis.6.3.cvs.dll".

This is a MINGW compile, mind you.


Hamish wrote:
> Benjamin wrote:
>>>> I just did a fresh rebuild from CVS an hour ago and noticed that
>>>> standard option declarations (G_OPT_V_FIELD, G_OPT_R_OUTPUT,
>>>> G_OPT_V_MAP) are no longer working. Options declared this way get
>>>> totally messed up. Have a look at v.out.ogr for an an example.
> Markus:
>>> I bet that you need to run 
>>>  make distclean
>>> before recompiling.
> Benjamin:
>> Sorry, no luck. Did a distclean and recompiled. Same problem.
>> Do you have it, too?
> Looks ok for me using yesterday's CVS. What do the broken bits look
> like? Are they taking descriptions etc from another std option?
> I did add a new standard option the other day (for fs=), but added it to
> the end of the STD_OPT list. I thought doing that would only cause
> distclean problems if I had added it to the middle of the list, i.e.
> reordering the index.
> Hamish

Benjamin Ducke, M.A.
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300

More information about the grass-dev mailing list