History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GEOT-1603
Type: Bug Bug
Status: In Progress In Progress
Priority: Major Major
Assignee: Simone Giannecchini
Reporter: Jody Garnett
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
GeoTools

Image Moasic should be able to work with a provided index shapefile

Created: 28/Nov/07 05:51 PM   Updated: 03/Jan/08 09:04 AM
Component/s: gc imagemosaic
Affects Version/s: 2.5-M0
Fix Version/s: None

Issue Links:
Related
 


 Description  « Hide
I am working with a customer who has just gone and forked imagemoasic in order to get absolute paths to work; apparently the raster files are in one location (on a nice fast RAID) and the index file in another.

The index shapefile has been provided with the raster data; we will get new copies of this file as data sets are made available and it would be great if we could use it out of the box.

OPTION ONE

The image-moasic plugin looks for the hard coded attribute "location" in order to figure out the raster files. If we use the provided index shapefile we will need to be able specify which attribute indicates the location of the raster files.

This could be provided as a HINT or as an entry in the properties file.

OPTION TWO

We can copy the provided index shapefile; process it so it has a "location" attribute and place it in a new location;. Problem is that the shapefile is in a seperate folder; and the image moasic code is built to handle relative paths.

So for this to work we need either:

  • modify the code to look at the "location" and detect when an absolute path is being used
  • provide a new "base" directory where it should look for the images from; this could be a HINT or an entry in the properties file?


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Jody Garnett - 28/Nov/07 05:53 PM - edited
Also ran into some trouble with the code using an default image in PNG format (which was unavailable as it would crash the JVM on an imageio error); switching to GIF worked.