Opened 9 years ago

Closed 9 years ago

#5878 closed defect (fixed)

Accept_different_schemas missing from ogrtindex documentation

Reported by: Jukka Rahkonen Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

The flag -accept_different_schemas that was added by #3141 is documented in the command line help

ogrtindex --help-general

However, the flag is not documented in http://www.gdal.org/ogrtindex.html.

Errors due to different schemata will be more common in GDAL 2.0 because of RFC 31 https://trac.osgeo.org/gdal/wiki/rfc31_ogr_64 at least with shapefiles because for example integer fields Number(9.0) and Number(10.0) are now considered as different types Integer and Long integer.

Change History (3)

comment:1 by Jukka Rahkonen, 9 years ago

I found the command help from inside http://trac.osgeo.org/gdal/browser/trunk/gdal/apps/ogrtindex.cpp. There is

printf( "  -accept_different_schemas: by default ogrtindex checks that all layers inserted\n"
        "                             into the index have the same attribute schemas. If you\n"
        "                             specify this option, this test will be disabled. Be aware that\n"
        "                             resulting index may be incompatible with MapServer!\n" );

There is something wrong with the indentation and it would be good to remove some space characters, but what I like to edit is page http://www.gdal.org/ogrtindex.html. However, I do not know from where in the source code it comes.

comment:2 by Even Rouault, 9 years ago

The source for http://www.gdal.org/ogrtindex.html is apps/ogr_utilities.dox

comment:3 by Jukka Rahkonen, 9 years ago

Resolution: fixed
Status: newclosed

Done with r28747.

Note: See TracTickets for help on using tickets.