Opened 17 years ago

Closed 17 years ago

#1762 closed enhancement (fixed)

[PATCH] Improvements to gdaltindex

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.5.0
Component: default Version: svn-trunk
Severity: normal Keywords: gdaltindex
Cc: warmerdam

Description

This patch adds the following enhancements to gdaltindex :

  • add new option : [-write_absolute_path] : write the full path name of the files added in the tileindex. It is usefull as, currently, one often generate the tileindex by mentionning files with relative paths but one uses it from other directories afterwards and it doesn't work.
  • add new option : [-skip_different_projection] : tileindex referencing products with different projection system are pretty useless in general, in particular for use in mapserver. This flag doesn't add files with a projection system different from the one of files already in the tileindex. If this option is not specified, a warning will be emitted anyway.
  • checks whether the files that should be added in the tileindex are not already in. If it is the case, a warning is emitted and no new entry is created for the duplicated file.

Attachments (2)

gdal_svn_gdaltindex_improvements.patch (7.8 KB ) - added by Even Rouault 17 years ago.
gdal_svn_ogrtindex_improvements.patch (9.7 KB ) - added by Even Rouault 17 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Even Rouault, 17 years ago

Keywords: gdaltindex added
Version: unspecifiedsvn-trunk

by Even Rouault, 17 years ago

comment:2 by warmerdam, 17 years ago

Cc: warmerdam added
Milestone: 1.5.0
Owner: changed from warmerdam to Even Rouault

Even,

Go ahead with this change. Note that documentation changes belong in gdal/doc/gdal_utilities.dox from which the man pages are built, not in the man pages themselves.

comment:3 by Even Rouault, 17 years ago

Commited in trunk in r11942

comment:4 by Even Rouault, 17 years ago

Same improvements for ogrtindex; See attached patch

by Even Rouault, 17 years ago

comment:5 by warmerdam, 17 years ago

looks good...

comment:6 by Even Rouault, 17 years ago

gdal_svn_ogrtindex_improvements.patch commited in trunk in r11968

comment:7 by Even Rouault, 17 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.