[Geoserver-devel] [Geotools-devel] Modification for the REST Upload

Hi,

Out of curiosity, what happens if overlapping images are uploaded to an existing ImageMosaic? Will the new ones be drawn on top of the old ones? Will the new modification have any effect on this?

-Jukka Rahkonen-

Simone Giannecchini wrote:

Ciao Jody,
no change on GeoTools (I removed GeoTols from my answers in fact) as far as
GeoServer is concerned the change is small and isolated and should not affect
users (unless they are uploading data to the ImageMosaic in which case they
would be happier than before :slight_smile: ).

Regards,
Simone Giannecchini

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more
information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

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

On Tue, May 6, 2014 at 3:41 PM, Jody Garnett <jody.garnett@anonymised.com>
wrote:
> If it is an API change on a supported module then geotools will want a
> proposal (if only to document the before/after API and ensure the user
> docs are updated).
>
> Not sure if one is required for geoserver, I assume the change does
> not effect the user experience for GeoServer?
> --
> Jody
>
> Jody Garnett
>
>
> On Tue, May 6, 2014 at 7:25 AM, Simone Giannecchini
> <simone.giannecchini@anonymised.com> wrote:
>>
>> Dear All,
>> quick summary, sending a zip to an existing mosaic containing new
>> granules to be added causes a complete reharvest of the existing
>> granules
>>
>> We are therefore proposing to modify slightly the way we handle file
>> uploads on coveragestores to make sure that when posting a ZIP we
>> harvesting only the newly added files rather than the entire store
>> directory.
>>
>> More details are provided in the document that Nicola attached for
>> simplicity.
>> Nicola will put together a PR for review not sure we need to create a
>> GSIP for this fix.
>>
>> Regards,
>> Simone Giannecchini
>> ==
>> Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
>> for more information.
>> ==
>>
>> Ing. Simone Giannecchini
>> @simogeo
>> Founder/Director
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054 Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax: +39 0584 1660272
>> mob: +39 333 8128928
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> -------------------------------------------------------
>>
>>
>> On Tue, May 6, 2014 at 2:15 PM, Nicola Lagomarsini
>> <nicola.lagomarsini@anonymised.com> wrote:
>> > Hi all,
>> >
>> > I have prepared a proposal of modification of the file upload via REST.
>> >
>> > This is the link to the proposal:
>> >
>> >
https://docs.google.com/document/d/1_lwCstC09eiAlYxQkUENNo_UiSWBR51
>> > 7_EAG6p1OGC0/edit?usp=sharing
>> >
>> > Best Regards,
>> > Nicola.
>> >
>> >
>> > --
>> > ==
>> > Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
>> > for more information.
>> > ==
>> >
>> > Ing. Nicola Lagomarsini
>> > Junior Software Engineer
>> >
>> > GeoSolutions S.A.S.
>> > Via Poggio alle Viti 1187
>> > 55054 Massarosa (LU)
>> > Italy
>> > phone: +39 0584 962313
>> > fax: +39 0584 1660272
>> >
>> > http://www.geo-solutions.it
>> > http://twitter.com/geosolutions_it
>> >
>> > -------------------------------------------------------
>> >
>> >
>> > -------------------------------------------------------------------
>> > ----------- Is your legacy SCM system holding you back? Join
>> > Perforce May 7 to find
>> > out:
>> > &#149; 3 signs your SCM is hindering your productivity &#149;
>> > Requirements for releasing software faster &#149; Expert tips and
>> > advice for migrating your SCM now http://p.sf.net/sfu/perforce
>> > _______________________________________________
>> > GeoTools-Devel mailing list
>> > GeoTools-Devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/geotools-devel
>> >
>>
>>
>> ---------------------------------------------------------------------
>> --------- Is your legacy SCM system holding you back? Join Perforce
>> May 7 to find
>> out:
>> &#149; 3 signs your SCM is hindering your productivity &#149;
>> Requirements for releasing software faster &#149; Expert tips and
>> advice for migrating your SCM now http://p.sf.net/sfu/perforce
>> _______________________________________________
>> Geoserver-devel mailing list
>> Geoserver-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity &#149; Requirements for
releasing software faster &#149; Expert tips and advice for migrating your SCM
now http://p.sf.net/sfu/perforce
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Ciao Jukka,
if the name is exactly the same of an existing image, it will be
reharvested, updating the existing metadata and content.

If by overlapping you mean spatially/temporally/etc.. overlapping,
then the ImageMosaic does no magic.
Once you make a request it filters granules and then draws all of them
on a common grid, meaning that if they do overlap they are drawn one
on top of the other respecting the configured order (default order is
insert order).

In the end it is up to the caller to select what he wants to see
(although some magic could be done to avoid loading data we won't be
using anyway).

Let me know if this is not clear.

Regards,
Simone Giannecchini

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

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

On Tue, May 6, 2014 at 4:11 PM, Rahkonen Jukka (Tike)
<jukka.rahkonen@anonymised.com> wrote:

Hi,

Out of curiosity, what happens if overlapping images are uploaded to an existing ImageMosaic? Will the new ones be drawn on top of the old ones? Will the new modification have any effect on this?

-Jukka Rahkonen-

Simone Giannecchini wrote:

Ciao Jody,
no change on GeoTools (I removed GeoTols from my answers in fact) as far as
GeoServer is concerned the change is small and isolated and should not affect
users (unless they are uploading data to the ImageMosaic in which case they
would be happier than before :slight_smile: ).

Regards,
Simone Giannecchini

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more
information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

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

On Tue, May 6, 2014 at 3:41 PM, Jody Garnett <jody.garnett@anonymised.com>
wrote:
> If it is an API change on a supported module then geotools will want a
> proposal (if only to document the before/after API and ensure the user
> docs are updated).
>
> Not sure if one is required for geoserver, I assume the change does
> not effect the user experience for GeoServer?
> --
> Jody
>
> Jody Garnett
>
>
> On Tue, May 6, 2014 at 7:25 AM, Simone Giannecchini
> <simone.giannecchini@anonymised.com> wrote:
>>
>> Dear All,
>> quick summary, sending a zip to an existing mosaic containing new
>> granules to be added causes a complete reharvest of the existing
>> granules
>>
>> We are therefore proposing to modify slightly the way we handle file
>> uploads on coveragestores to make sure that when posting a ZIP we
>> harvesting only the newly added files rather than the entire store
>> directory.
>>
>> More details are provided in the document that Nicola attached for
>> simplicity.
>> Nicola will put together a PR for review not sure we need to create a
>> GSIP for this fix.
>>
>> Regards,
>> Simone Giannecchini
>> ==
>> Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
>> for more information.
>> ==
>>
>> Ing. Simone Giannecchini
>> @simogeo
>> Founder/Director
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054 Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax: +39 0584 1660272
>> mob: +39 333 8128928
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> -------------------------------------------------------
>>
>>
>> On Tue, May 6, 2014 at 2:15 PM, Nicola Lagomarsini
>> <nicola.lagomarsini@anonymised.com> wrote:
>> > Hi all,
>> >
>> > I have prepared a proposal of modification of the file upload via REST.
>> >
>> > This is the link to the proposal:
>> >
>> >
https://docs.google.com/document/d/1_lwCstC09eiAlYxQkUENNo_UiSWBR51
>> > 7_EAG6p1OGC0/edit?usp=sharing
>> >
>> > Best Regards,
>> > Nicola.
>> >
>> >
>> > --
>> > ==
>> > Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
>> > for more information.
>> > ==
>> >
>> > Ing. Nicola Lagomarsini
>> > Junior Software Engineer
>> >
>> > GeoSolutions S.A.S.
>> > Via Poggio alle Viti 1187
>> > 55054 Massarosa (LU)
>> > Italy
>> > phone: +39 0584 962313
>> > fax: +39 0584 1660272
>> >
>> > http://www.geo-solutions.it
>> > http://twitter.com/geosolutions_it
>> >
>> > -------------------------------------------------------
>> >
>> >
>> > -------------------------------------------------------------------
>> > ----------- Is your legacy SCM system holding you back? Join
>> > Perforce May 7 to find
>> > out:
>> > &#149; 3 signs your SCM is hindering your productivity &#149;
>> > Requirements for releasing software faster &#149; Expert tips and
>> > advice for migrating your SCM now http://p.sf.net/sfu/perforce
>> > _______________________________________________
>> > GeoTools-Devel mailing list
>> > GeoTools-Devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/geotools-devel
>> >
>>
>>
>> ---------------------------------------------------------------------
>> --------- Is your legacy SCM system holding you back? Join Perforce
>> May 7 to find
>> out:
>> &#149; 3 signs your SCM is hindering your productivity &#149;
>> Requirements for releasing software faster &#149; Expert tips and
>> advice for migrating your SCM now http://p.sf.net/sfu/perforce
>> _______________________________________________
>> Geoserver-devel mailing list
>> Geoserver-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity &#149; Requirements for
releasing software faster &#149; Expert tips and advice for migrating your SCM
now http://p.sf.net/sfu/perforce
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel