You can do the same thing with gdaltindex, if you already have gdal installed.
For example, the following command line will create an index shapefile
for all of your geotiffs:
gdaltindex -tileindex location test *.tif
Here it creates a test.shp with a field named "location" (the exact
name is needed by the Imagemosaic plugin I believe), for all images
with .tif extension in the current directory.
There's a caveat: if the shapefile already exists, it will append
polygons to it. So if you don't want to duplicate tiles, list only the
*.tif files that are missing an entry in the shapefile.
Anyway, I found it to be an easy way to create the indexes. Easy is good.
Alex
On 8/22/06, GeoUser <blazrepnik@anonymised.com> wrote:
any luck with uploading the program?
GeoUser wrote:
>
> hehe. yes. well, upload the mosaick making program and i'll do some tests
> and report back.
>
> simone giannecchini wrote:
>>
>> Wow, that's what I call a huge dataset :-).
>>
>> I am interested in seeing this work, we'll have to keep in touch
>> because I am pretty sure we can make it work quite fast.
>>
>> Simone.
>>
>> On 8/21/06, GeoUser <blazrepnik@anonymised.com> wrote:
>>>
>>> around 80 GB
>>> (and this number will rise when i'll convert them all from 256 colors to
>>> 16mil)
>>>
>>> (not sure about file count, don't have them on this computer)
>>>
>>> simone giannecchini wrote:
>>> >
>>> > Average size was 3mb uncompressed.
>>> > How many of those big tiles you have?
>>> >
>>> > Simone.
>>> >
>>> > On 8/21/06, GeoUser <blazrepnik@anonymised.com> wrote:
>>> >>
>>> >> you said you tested it on 7000 files. how big was the average file?
>>> >>
>>> >> my files are ~~100mb each.
>>> >>
>>> >> simone giannecchini wrote:
>>> >> >
>>> >> > Ciao Blaz,
>>> >> > last week I committed a very useful improvement to the imagemosaic
>>> >> > plugin that enables it to exploit built-in overviews for tiff and
>>> >> > geotiff input files.
>>> >> >
>>> >> > Contextually we developed a simple tool for building the mosaic as
>>> >> > that also stores some additional info inside a properties file
>>> about
>>> >> > overviews and the like.
>>> >> >
>>> >> > I was planning on committing it this week-end but my girlfriend
>>> >> > preempted this task :-).
>>> >> > I am going to put it somewhere this night, maybe as an experiment
>>> so
>>> >> > that you can use and test.
>>> >> > Btw on friday I tested it on a mosaic of 7000 images and it worked
>>> >> > pretty fine, even if a bit slower than expected. Gotta fine tune it
>>> >> > :-).
>>> >> >
>>> >> > Simone.
>>> >> >
>>> >> > On 8/21/06, Alessio Fabiani <alessio.fabiani@anonymised.com> wrote:
>>> >> >> Hi,
>>> >> >>
>>> >> >> we have made a very useful tool which automatically creates all
>>> the
>>> >> >> required
>>> >> >> shapefiles for the mosaic. We can send it to you.
>>> >> >>
>>> >> >> On 8/21/06, GeoUser < blazrepnik@anonymised.com> wrote:
>>> >> >> >
>>> >> >> > Hello!
>>> >> >> >
>>> >> >> > I have rasters that represent images from mosaic. Each TIF file
>>> has
>>> >> a
>>> >> >> TFW
>>> >> >> > and a PRJ file. now what do i have to do to create other files
>>> >> >> > (dbf,shp,shx,fix,qix) that come with the image mosaic example?
>>> >> >> >
>>> >> >> > i used gdaltindex and got shp, dbf and shx files. I can create a
>>> >> >> > CoverageStore but when i try to create a new coverage from this
>>> >> store i
>>> >> >> get
>>> >> >> > an exception:
>>> >> >> >
>>> >> >> > java.lang.NullPointerException
>>> >> >> >
>>> >> >> > so i guess i'm missing some files?
>>> >> >> > --
>>> >> >> > View this message in context:
>>> >> >> http://www.nabble.com/Image-mosaick-tf2139753.html#a5905215
>>> >> >> > Sent from the GeoServer - Dev forum at Nabble.com.
>>> >> >> >
>>> >> >>
>>> >>
>>> -------------------------------------------------------------------------
>>> >> >> > Using Tomcat but need to do more? Need to support web services,
>>> >> >> security?
>>> >> >> > Get stuff done quickly with pre-integrated technology to make
>>> your
>>> >> job
>>> >> >> easier
>>> >> >> > Download IBM WebSphere Application Server v.1.0.1 based on
>>> Apache
>>> >> >> Geronimo
>>> >> >> >
>>> >> >>
>>> >>
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> >> >> > _______________________________________________
>>> >> >> > Geoserver-devel mailing list
>>> >> >> > Geoserver-devel@lists.sourceforge.net
>>> >> >> >
>>> >> >> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>> >> >> >
>>> >> >>
>>> >> >> --
>>> >> >> -------------------------------------------------------
>>> >> >> Eng. Alessio Fabiani
>>> >> >> Vice President/CTO GeoSolutions
>>> >> >>
>>> >> >> http://www.geo-solutions.it
>>> >> >>
>>> >> >> ---------------------------------------------------------
>>> >> >
>>> >> > --
>>> >> > -------------------------------------------------------
>>> >> > Eng. Simone Giannecchini
>>> >> > President /CEO GeoSolutions
>>> >> >
>>> >> > http://www.geo-solutions.it
>>> >> >
>>> >> > -------------------------------------------------------
>>> >> >
>>> >>
>>> -------------------------------------------------------------------------
>>> >> > Using Tomcat but need to do more? Need to support web services,
>>> >> security?
>>> >> > Get stuff done quickly with pre-integrated technology to make your
>>> job
>>> >> > easier
>>> >> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> >> Geronimo
>>> >> >
>>> >>
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> >> > _______________________________________________
>>> >> > Geoserver-devel mailing list
>>> >> > Geoserver-devel@lists.sourceforge.net
>>> >> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>> >> >
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >> http://www.nabble.com/Image-mosaick-tf2139753.html#a5906253
>>> >> Sent from the GeoServer - Dev forum at Nabble.com.
>>> >>
>>> -------------------------------------------------------------------------
>>> >> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> >> Get stuff done quickly with pre-integrated technology to make your
>>> job
>>> >> easier
>>> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> >> Geronimo
>>> >>
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> >> _______________________________________________
>>> >> Geoserver-devel mailing list
>>> >> Geoserver-devel@lists.sourceforge.net
>>> >> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>> >>
>>> >
>>> > --
>>> > -------------------------------------------------------
>>> > Eng. Simone Giannecchini
>>> > President /CEO GeoSolutions
>>> >
>>> > http://www.geo-solutions.it
>>> >
>>> > -------------------------------------------------------
>>> >
>>> -------------------------------------------------------------------------
>>> > Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> > Get stuff done quickly with pre-integrated technology to make your job
>>> > easier
>>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> >
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> > _______________________________________________
>>> > Geoserver-devel mailing list
>>> > Geoserver-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Image-mosaick-tf2139753.html#a5906416
>>> Sent from the GeoServer - Dev forum at Nabble.com.
>>>
>>> -------------------------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your job
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Geoserver-devel mailing list
>>> Geoserver-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>>
>>
>> --
>> -------------------------------------------------------
>> Eng. Simone Giannecchini
>> President /CEO GeoSolutions
>>
>> http://www.geo-solutions.it
>>
>> -------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Geoserver-devel mailing list
>> Geoserver-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>--
View this message in context: http://www.nabble.com/Image-mosaick-tf2139753.html#a5920199
Sent from the GeoServer - Dev forum at Nabble.com.-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel