Create a TileIndex shape file for raster data dynamically
Zhonghai Wang
zhonghaiw at GMAIL.COM
Tue Sep 25 00:16:37 PDT 2007
Hi there,
i know that i can use the GDAL utilities to create the tile index file, and
it works also very well. What i am thinking about now is to create the tile
index file programmatically, for example, i may develop a C# DLL in .NET,
which may expose a function to create a tile index file, just like the
GDALTINDEX utility.
Best Regards
Zhonghai
On 9/24/07, Gregor Mosheh <gregor at hostgis.com> wrote:
>
> Zhonghai Wang wrote:
> > I am just wondering if there is someway to create the tile
> > index file dynamically using MapScript or GDAL/OGR, not only use the
> > MapServer utilities.
>
> The way we've done it still uses the GDAL/OGR utilities as usual,
> e.g. in PHP:
> @unlink($indexfile);
> shell_exec("gdaltindex $indexfile /maps/$username/*.tif");
>
> Not particularly creative, but not particularly hackish either, and
> quite functional and flexible. What exactly did you have in mind?
>
> --
> Gregor Mosheh / Greg Allensworth
> System Administrator, HostGIS cartographic development & hosting services
> http://www.HostGIS.com/
>
> "Remember that no one cares if you can back up,
> only if you can restore." - AMANDA
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070925/b8fb62c4/attachment.htm>
More information about the MapServer-users
mailing list