[Geoserver-users] How can I use a footprint.shp file with imagemosaic plugin?

Hi, I have seen several references to a working technique to use a footprint.shp file with the imagemosaic plugin to despeckle compressed images. I have not yet however seen any reference to how exactly to do it. I would appreciate someone pointing me to the appropriate documentation or explicitly describing the procedure. I’ve found no documentation of a procedure anywhere. I’ve looked at some code, hoping to derive a procedure, but nothing we’ve tried so far works.

The scenario is that we have aerials, in MrSID format that we are using in the imagemosaic plugin in geoserver 2.3.2. We do not want to process the imagery or convert to another format. It seems that a shape file constraining the area of interest (masking nodata and near nodata) may be a good solution. But, how can it be done?

Thank you,

Shamus

Hi Shamus,
Does this cover it?
http://geo-solutions.blogspot.co.uk/2010/04/behind-curtains-geoservergeotools.html

There’s also an old thread:
http://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg01747.html

Jonathan

On 28 June 2013 20:31, Fuller, Shamus <sfuller@anonymised.com> wrote:

Hi, I have seen several references to a working technique to use a footprint.shp file with the imagemosaic plugin to despeckle compressed images. I have not yet however seen any reference to how exactly to do it. I would appreciate someone pointing me to the appropriate documentation or explicitly describing the procedure. I’ve found no documentation of a procedure anywhere. I’ve looked at some code, hoping to derive a procedure, but nothing we’ve tried so far works.

The scenario is that we have aerials, in MrSID format that we are using in the imagemosaic plugin in geoserver 2.3.2. We do not want to process the imagery or convert to another format. It seems that a shape file constraining the area of interest (masking nodata and near nodata) may be a good solution. But, how can it be done?

Thank you,

Shamus


This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

On Fri, Jun 28, 2013 at 9:31 PM, Fuller, Shamus <sfuller@anonymised.com> wrote:

Hi, I have seen several references to a working technique to use a
footprint.shp file with the imagemosaic plugin to despeckle compressed
images. I have not yet however seen any reference to how exactly to do it.
I would appreciate someone pointing me to the appropriate documentation or
explicitly describing the procedure. I’ve found no documentation of a
procedure anywhere. I’ve looked at some code, hoping to derive a procedure,
but nothing we’ve tried so far works.

The footprint management via shapefiles has been lost along the way, it was
present in an old
branch but not forward ported.
Nowadays the mosaic code has the machinery to deal with footprints when
used programmatically
with a custom programmed index, but cannot read footprints from shapefiles
and cannot be configured to do so

With some work the functionality could be brought back, and this time,
committed to trunk first, so that
it stays there for the foreseeable future (the old changes cannot just be
ported, the mosaic code base
has changed a lot since back then).

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Thank you Jonathan. I had seen those references, but it seems that the functionality is no longer available in more recent versions.

Shamus

···

From: Jonathan Moules [mailto:jonathanmoules@anonymised.com]
Sent: Friday, July 05, 2013 4:14 AM
To: Fuller, Shamus
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] How can I use a footprint.shp file with imagemosaic plugin?

Hi Shamus,

Does this cover it?

http://geo-solutions.blogspot.co.uk/2010/04/behind-curtains-geoservergeotools.html

There’s also an old thread:

http://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg01747.html

Jonathan

On 28 June 2013 20:31, Fuller, Shamus <sfuller@anonymised.com> wrote:

Hi, I have seen several references to a working technique to use a footprint.shp file with the imagemosaic plugin to despeckle compressed images. I have not yet however seen any reference to how exactly to do it. I would appreciate someone pointing me to the appropriate documentation or explicitly describing the procedure. I’ve found no documentation of a procedure anywhere. I’ve looked at some code, hoping to derive a procedure, but nothing we’ve tried so far works.

The scenario is that we have aerials, in MrSID format that we are using in the imagemosaic plugin in geoserver 2.3.2. We do not want to process the imagery or convert to another format. It seems that a shape file constraining the area of interest (masking nodata and near nodata) may be a good solution. But, how can it be done?

Thank you,

Shamus


This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

Thank you for the clarification Andrea. It seems the capability would be useful. Do you have a reference where I could learn more about the custom programmed index? I would like to consider that approach before deciding what to do next. We have a lot of imagery and will need to decide an approach to despeckle them without processing them. So far, I only see two straightforward approaches, bringing back the footprint functionality, or if possible attempting some change so that a nodata value range can be used in the imagemosaic plugin so a list of values could be used.

Thanks again,

Shamus

···

From: andrea.aime@anonymised.com [mailto:andrea.aime@anonymised.com] On Behalf Of Andrea Aime
Sent: Friday, July 05, 2013 5:05 AM
To: Fuller, Shamus
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] How can I use a footprint.shp file with imagemosaic plugin?

On Fri, Jun 28, 2013 at 9:31 PM, Fuller, Shamus <sfuller@anonymised.com> wrote:

Hi, I have seen several references to a working technique to use a footprint.shp file with the imagemosaic plugin to despeckle compressed images. I have not yet however seen any reference to how exactly to do it. I would appreciate someone pointing me to the appropriate documentation or explicitly describing the procedure. I’ve found no documentation of a procedure anywhere. I’ve looked at some code, hoping to derive a procedure, but nothing we’ve tried so far works.

The footprint management via shapefiles has been lost along the way, it was present in an old

branch but not forward ported.

Nowadays the mosaic code has the machinery to deal with footprints when used programmatically

with a custom programmed index, but cannot read footprints from shapefiles and cannot be configured to do so

With some work the functionality could be brought back, and this time, committed to trunk first, so that

it stays there for the foreseeable future (the old changes cannot just be ported, the mosaic code base

has changed a lot since back then).

Cheers

Andrea

==

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

==

Ing. Andrea Aime

@geowolf

Technical Lead

GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it

http://twitter.com/geosolutions_it


On Tue, Jul 9, 2013 at 3:02 PM, Fuller, Shamus <sfuller@anonymised.com> wrote:

Thank you for the clarification Andrea. It seems the capability would be
useful. Do you have a reference where I could learn more about the custom
programmed index? I would like to consider that approach before deciding
what to do next. We have a lot of imagery and will need to decide an
approach to despeckle them without processing them. So far, I only see two
straightforward approaches, bringing back the footprint functionality, or
if possible attempting some change so that a nodata value range can be used
in the imagemosaic plugin so a list of values could be used.

The image mosaic catalog API is not considered to be public, so we don't
have examples, the case I was citing is
a vertical that's not released to the public.
However... I guess you can still have a look at the image mosaic plugin
sources and see if you can figure out how to use it
by yourself:
https://github.com/geotools/geotools/tree/master/modules/plugin/imagemosaic

Or you can look into the commercial support options and have someone
re-build the footprint support into the mosaic module
(this time, on trunk, so that it does not get lost)

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------