Re: [Geoserver-devel] Graduating the importer to extension status

2014-01-10 Thread Andrea Aime
On Wed, Jan 8, 2014 at 12:44 AM, Ian Schneider
ischnei...@boundlessgeo.comwrote:

 I made 2 pull requests (2.4.x and master) with a number of fixes I had
 brewing in my branch.


Yep, appreciated


 I did not encounter any test failures on either branch and my client[1] is
 working correctly as well though does not have as thorough of coverage yet.


Right... at the same time, the module cannot be graduated if it breaks the
build server.
Normally, what breaks on my machine does there too (not 100% of the time,
but rather close to it).
Since I can reproduce, I'll have a look

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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] GSIP 104: graduating libjpegturbo to extension status

2014-01-10 Thread Alessio Fabiani
proposal++

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

Ing. Alessio Fabiani
@alfa7691
Founder/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  331 6233686

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

---


On Fri, Jan 10, 2014 at 2:47 AM, Jody Garnett jody.garn...@gmail.comwrote:

 +1 (I even managed to set this up once)

 Jody Garnett


 On Thu, Jan 9, 2014 at 10:31 PM, Andrea Aime andrea.a...@geo-solutions.it
  wrote:

 Hi,
 this is going to be a proposal heavy week... here is another one, to
 graduate the accelerated
 JPEG encoder to extension status:

 http://geoserver.org/display/GEOS/GSIP+104+-+promote+libjpegturbo+module+to+extension+status

 +1 here

 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

 ---


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel




 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] PDF documentation

2014-01-10 Thread Andrea Aime
Hi,
the PDF documentation has not been generated for the past few releases.
I'm wondering if we can automate its generation any way, or if we should
simply drop it
as something we're failing to deliver?

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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] PDF documentation

2014-01-10 Thread Andrea Aime
On Fri, Jan 10, 2014 at 10:41 AM, Andrea Aime
andrea.a...@geo-solutions.itwrote:

 Hi,
 the PDF documentation has not been generated for the past few releases.
 I'm wondering if we can automate its generation any way, or if we should
 simply drop it
 as something we're failing to deliver?


Doh, I gave it another crack (never really worked on my machine) and this
time I've found this page:
http://jimmyg.org/blog/2009/sphinx-pdf-generation-with-latex.html

So the trick is, you have to install the texlive-full monster (1GB
download, 1.8GB installed on disk)
to have the PDF generation work (eeek!).
And then the generated PDF really sucks as all the images are ridiculously
big... but a quick
search on the internet shows latex can rescale the images if instructed to,
so for example the following
command makes the images 50% of their original size in the tex file:

sed  s/includegraphics/includegraphics[scale=0.5]/g
GeoServerUserManual.tex  manual.tex

and then pdflatex can be invoked so that it does not require manual
intervention (we still have a million
issues in the generated tex file) like this:

pdflatex -interaction batchmode manual.tex

which in turn generates the following pdf file (still 900+ pages, please
please don't print this thing...):
http://demo.geo-solutions.it/share/manual.pdf

The images are at least not completely ridiculous in this output.. although
it seems it's still missing
a table of contents, good luck navigating it without it...

Wondering if the above could be replicated on the build server, to automate
the PDF production during
the release process... we'd need to have texlive-full there to have things
working though.

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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] Test failure in kml icon service module (if you have perceptualdiff)

2014-01-10 Thread Andrea Aime
Hi,
the build is failing in IconRendererTest for those that have PerceptualDiff
installed
(the failure is an image comparision one).

The reason it's failing it's due to change in the GeoTools rendering engine
to increase
the quality of icons rendered in a map,
http://jira.codehaus.org/browse/GEOT-4479,
which snaps the position of the icon to integer pixels to avoid the
resampling
that otherwise occurs (java2d trying to respect the non integer position we
gave it
to the letter), which makes the icons look fuzzy, and different in the
output depending
on the location where they are painted.

Now, the way the icon renderer works, it seems it's always going to make
the image
be painted at an half a pixel (e.g., coordinates 21.5, 21.5), which of
course ruins
somewhat the output... and something the change above tries to avoid,
changing
the output (and making the icon not be exactly in the center of the output)

For the time being I've committed a work around, but can someone familiar
with the
code have a look and see if the icon renderer can be fixed to make it paint
the
icon at a integer location to start with, and keep the icon in the middle
of the
generated image?

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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] Why ST_SRID cause Geoserver generated SQL query to run about 500x slower?

2014-01-10 Thread Ian Turton
I just came across this question on GIS.SE
http://gis.stackexchange.com/q/82368/79 - I wondered if any one here
(Andrea?) knew anything about it?

Cheers

Ian

-- 
Ian Turton
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] PDF documentation

2014-01-10 Thread Jonathan Moules
Hi Andrea,
Took a peak at that file. A few observations:

 - It seems there's a Contents section but it's completely empty (Page i
and ii).

- Footers - The alternating-side-page-numbers make sense for a book, but
not for a PDF.

- Footers - 21.10. Using the ImageMosaic plugin for raster time-series
data - the number has a trailing decimal place but probably shouldn't.

- Page 898 (22.10.2 Getting a NetCDF output file) has a link that goes into
the margin and off the page.
There's quoted text on the page above that does something similar too. Code
comments ala 21.14.3 Hidden Deployment as well.

All minor things; it looks good (I've never peeked at the pdf before).

Cheers,
Jonathan


On 10 January 2014 11:11, Andrea Aime andrea.a...@geo-solutions.it wrote:

 On Fri, Jan 10, 2014 at 10:41 AM, Andrea Aime 
 andrea.a...@geo-solutions.it wrote:

 Hi,
 the PDF documentation has not been generated for the past few releases.
 I'm wondering if we can automate its generation any way, or if we should
 simply drop it
 as something we're failing to deliver?


 Doh, I gave it another crack (never really worked on my machine) and this
 time I've found this page:
 http://jimmyg.org/blog/2009/sphinx-pdf-generation-with-latex.html

 So the trick is, you have to install the texlive-full monster (1GB
 download, 1.8GB installed on disk)
 to have the PDF generation work (eeek!).
 And then the generated PDF really sucks as all the images are ridiculously
 big... but a quick
 search on the internet shows latex can rescale the images if instructed
 to, so for example the following
 command makes the images 50% of their original size in the tex file:

 sed  s/includegraphics/includegraphics[scale=0.5]/g
 GeoServerUserManual.tex  manual.tex

 and then pdflatex can be invoked so that it does not require manual
 intervention (we still have a million
 issues in the generated tex file) like this:

 pdflatex -interaction batchmode manual.tex

 which in turn generates the following pdf file (still 900+ pages, please
 please don't print this thing...):
 http://demo.geo-solutions.it/share/manual.pdf

 The images are at least not completely ridiculous in this output..
 although it seems it's still missing
 a table of contents, good luck navigating it without it...

 Wondering if the above could be replicated on the build server, to
 automate the PDF production during
 the release process... we'd need to have texlive-full there to have things
 working though.

 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

 ---


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel



-- 
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.
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Why ST_SRID cause Geoserver generated SQL query to run about 500x slower?

2014-01-10 Thread Andrea Aime
On Fri, Jan 10, 2014 at 2:04 PM, Ian Turton ijtur...@gmail.com wrote:

 I just came across this question on GIS.SE
 http://gis.stackexchange.com/q/82368/79 - I wondered if any one here
 (Andrea?) knew anything about it?


I believe this is happening because we don't have the native SRID in
geometry_columns
If missing, add it, and reset the config in GeoServer

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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] Switching the preview to OL3

2014-01-10 Thread Andrea Aime
Hi all,
Bart has been setting up a new layer preview using OL3 here:
https://github.com/bartvde/geoserver-ol3-preview/commit/06e122aa9913df890347b47576f6839171cc061d

I am pretty excited about it... or else, I was, then Bart told me OL3
requires IE9+... erk...
I don't think we can release a GeoServer that does not work with IE7 or IE8.

At the same time it's a pity not to use Bart's work. Maybe we should add a
OL3 output format, or a format
option to get it? Or maybe have a browser identification tool that uses OL3
only when the browser
is recent enough.

Opinions?

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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Test failure in kml icon service module (if you have perceptualdiff)

2014-01-10 Thread David Winslow
You're talking about
https://github.com/geoserver/geoserver/blob/master/src/kml/src/test/java/org/geoserver/kml/icons/IconRendererTest.java?
Just from looking at the commit log I don't see where/when the
workaround
is applied.  I'd like to revert the workaround before investigating a fix
so I'd appreciate it if you could point me in the right direction there.


On Fri, Jan 10, 2014 at 6:39 AM, Andrea Aime
andrea.a...@geo-solutions.itwrote:

 Hi,
 the build is failing in IconRendererTest for those that have
 PerceptualDiff installed
 (the failure is an image comparision one).

 The reason it's failing it's due to change in the GeoTools rendering
 engine to increase
 the quality of icons rendered in a map,
 http://jira.codehaus.org/browse/GEOT-4479,
 which snaps the position of the icon to integer pixels to avoid the
 resampling
 that otherwise occurs (java2d trying to respect the non integer position
 we gave it
 to the letter), which makes the icons look fuzzy, and different in the
 output depending
 on the location where they are painted.

 Now, the way the icon renderer works, it seems it's always going to make
 the image
 be painted at an half a pixel (e.g., coordinates 21.5, 21.5), which of
 course ruins
 somewhat the output... and something the change above tries to avoid,
 changing
 the output (and making the icon not be exactly in the center of the output)

 For the time being I've committed a work around, but can someone familiar
 with the
 code have a look and see if the icon renderer can be fixed to make it
 paint the
 icon at a integer location to start with, and keep the icon in the middle
 of the
 generated image?

 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

 ---


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel




-- 
David Winslow
Boundless - http://boundlessgeo.com/
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Switching the preview to OL3

2014-01-10 Thread Simone Giannecchini
I would go for:

a browser identification tool that uses OL3 only when the browser
is recent enough

Regards,
Simone Giannecchini
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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 Fri, Jan 10, 2014 at 3:36 PM, Andrea Aime
andrea.a...@geo-solutions.itwrote:

 Hi all,
 Bart has been setting up a new layer preview using OL3 here:

 https://github.com/bartvde/geoserver-ol3-preview/commit/06e122aa9913df890347b47576f6839171cc061d

 I am pretty excited about it... or else, I was, then Bart told me OL3
 requires IE9+... erk...
 I don't think we can release a GeoServer that does not work with IE7 or
 IE8.

 At the same time it's a pity not to use Bart's work. Maybe we should add a
 OL3 output format, or a format
 option to get it? Or maybe have a browser identification tool that uses
 OL3 only when the browser
 is recent enough.

 Opinions?

 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

 ---


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Switching the preview to OL3

2014-01-10 Thread Chris Holmes
Browser identification tool would be ideal imho. Would be really great to
have most people using it as the default preview. If we can't do that then
the output format would be good to add, but I feel like most people
wouldn't see it then.


On Fri, Jan 10, 2014 at 8:36 AM, Andrea Aime
andrea.a...@geo-solutions.itwrote:

 Hi all,
 Bart has been setting up a new layer preview using OL3 here:

 https://github.com/bartvde/geoserver-ol3-preview/commit/06e122aa9913df890347b47576f6839171cc061d

 I am pretty excited about it... or else, I was, then Bart told me OL3
 requires IE9+... erk...
 I don't think we can release a GeoServer that does not work with IE7 or
 IE8.

 At the same time it's a pity not to use Bart's work. Maybe we should add a
 OL3 output format, or a format
 option to get it? Or maybe have a browser identification tool that uses
 OL3 only when the browser
 is recent enough.

 Opinions?

 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

 ---


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] PDF documentation

2014-01-10 Thread David Winslow
Latex requires multiple passes to provide intra-document links/references
of any sort (my understanding is that Latex's semantics make it difficult
to make a multi-pass latex compiler and without it you cannot know what the
page numbers are for any such links.)  Generally it is necessary to run the
'latex' command multiple times for a document of any complexity - did you
try re-running it?

I'll also note that any place where content runs off the page will be noted
in an 'overfull hbox' or similar warning from the latex command.  Tracking
them back to the Sphinx/rst sources can be a pain.

On Jan 10, 2014 8:16 AM, Jonathan Moules 
jonathanmou...@warwickshire.gov.uk wrote:

 Hi Andrea,
 Took a peak at that file. A few observations:

  - It seems there's a Contents section but it's completely empty (Page i
 and ii).

 - Footers - The alternating-side-page-numbers make sense for a book, but
 not for a PDF.

 - Footers - 21.10. Using the ImageMosaic plugin for raster time-series
 data - the number has a trailing decimal place but probably shouldn't.

 - Page 898 (22.10.2 Getting a NetCDF output file) has a link that goes
 into the margin and off the page.
 There's quoted text on the page above that does something similar too.
 Code comments ala 21.14.3 Hidden Deployment as well.

 All minor things; it looks good (I've never peeked at the pdf before).

 Cheers,
 Jonathan


 On 10 January 2014 11:11, Andrea Aime andrea.a...@geo-solutions.itwrote:

 On Fri, Jan 10, 2014 at 10:41 AM, Andrea Aime 
 andrea.a...@geo-solutions.it wrote:

 Hi,
 the PDF documentation has not been generated for the past few releases.
 I'm wondering if we can automate its generation any way, or if we should
 simply drop it
 as something we're failing to deliver?


 Doh, I gave it another crack (never really worked on my machine) and this
 time I've found this page:
 http://jimmyg.org/blog/2009/sphinx-pdf-generation-with-latex.html

 So the trick is, you have to install the texlive-full monster (1GB
 download, 1.8GB installed on disk)
 to have the PDF generation work (eeek!).
 And then the generated PDF really sucks as all the images are
 ridiculously big... but a quick
 search on the internet shows latex can rescale the images if instructed
 to, so for example the following
 command makes the images 50% of their original size in the tex file:

 sed  s/includegraphics/includegraphics[scale=0.5]/g
 GeoServerUserManual.tex  manual.tex

 and then pdflatex can be invoked so that it does not require manual
 intervention (we still have a million
 issues in the generated tex file) like this:

 pdflatex -interaction batchmode manual.tex

 which in turn generates the following pdf file (still 900+ pages, please
 please don't print this thing...):
 http://demo.geo-solutions.it/share/manual.pdf

 The images are at least not completely ridiculous in this output..
 although it seems it's still missing
 a table of contents, good luck navigating it without it...

 Wondering if the above could be replicated on the build server, to
 automate the PDF production during
 the release process... we'd need to have texlive-full there to have
 things working though.

 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

 ---


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel



 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.

 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development 

Re: [Geoserver-devel] Switching the preview to OL3

2014-01-10 Thread Justin Deoliveira
I too like the idea of browser identification and switching between new and
old. For the old I think it would be good to add some notice that says
your browser sucks ... er i mean Your browser is currently not supported
..., blah blah

On Fri, Jan 10, 2014 at 7:53 AM, Chris Holmes cho...@gmail.com wrote:

 Browser identification tool would be ideal imho. Would be really great to
 have most people using it as the default preview. If we can't do that then
 the output format would be good to add, but I feel like most people
 wouldn't see it then.


 On Fri, Jan 10, 2014 at 8:36 AM, Andrea Aime andrea.a...@geo-solutions.it
  wrote:

 Hi all,
 Bart has been setting up a new layer preview using OL3 here:

 https://github.com/bartvde/geoserver-ol3-preview/commit/06e122aa9913df890347b47576f6839171cc061d

 I am pretty excited about it... or else, I was, then Bart told me OL3
 requires IE9+... erk...
 I don't think we can release a GeoServer that does not work with IE7 or
 IE8.

 At the same time it's a pity not to use Bart's work. Maybe we should add
 a OL3 output format, or a format
 option to get it? Or maybe have a browser identification tool that uses
 OL3 only when the browser
 is recent enough.

 Opinions?

 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

 ---


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel




 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel




-- 
*Justin Deoliveira*
Vice President, Engineering | Boundless
jdeol...@boundlessgeo.com
@j_deolive https://twitter.com/j_deolive
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Switching the preview to OL3

2014-01-10 Thread Andrea Aime
On Fri, Jan 10, 2014 at 4:58 PM, Justin Deoliveira 
jdeol...@boundlessgeo.com wrote:

 I too like the idea of browser identification and switching between new
 and old. For the old I think it would be good to add some notice that says
 your browser sucks ... er i mean Your browser is currently not supported
 ..., blah blah


Ok, so how do we detect the unsupported browsers?
I've found this library to detect the user agents, but it's kinda big, two
jars, around 300kb I believe.

Maybe we can have a blacklist of specific strings instead? Suggestions?

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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Switching the preview to OL3

2014-01-10 Thread Ian Schneider
The header: HTTP_USER_AGENT
The regex: MSIE (\d+)\.

browser_is_old = int(group(1)) = 8

The challenge is testing - my XP VM updated IE to 9 before I could stop it
:)


On Fri, Jan 10, 2014 at 9:00 AM, Andrea Aime
andrea.a...@geo-solutions.itwrote:

 On Fri, Jan 10, 2014 at 4:58 PM, Justin Deoliveira 
 jdeol...@boundlessgeo.com wrote:

 I too like the idea of browser identification and switching between new
 and old. For the old I think it would be good to add some notice that says
 your browser sucks ... er i mean Your browser is currently not supported
 ..., blah blah


 Ok, so how do we detect the unsupported browsers?
 I've found this library to detect the user agents, but it's kinda big, two
 jars, around 300kb I believe.

 Maybe we can have a blacklist of specific strings instead? Suggestions?

 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

 ---


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel




-- 
Ian Schneider
Software Engineer | Boundless
ischnei...@boundlessgeo.com
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] Build failed in Jenkins: cite-wcs-1.0 #86

2014-01-10 Thread monitor
See http://ares.opengeo.org/jenkins/job/cite-wcs-1.0/86/

--
[...truncated 1937 lines...]
 [exec]  
 [exec]  VAR_WCS_TEMP_CRS: EPSG:4326
 [exec]  VAR_WCS_TEMP_RPCRS:
 [exec]  VAR_WCS_COVERAGE_1_CRS: EPSG:4326
 [exec]  VAR_WCS_COVERAGE_1_RESPONSE_CRS: EPSG:4326
 [exec]  VAR_WCS_FORMAT_1: GeoTIFF
 [exec]  VAR_WCS_COVERAGE_1_BBOX: 
-19.996,40.0019995,19.998401,90.0
 [exec]   Test 
wcs1-0-0:getcoverage_operations-getcoverage_request-response_crs-post-kvp-2 
Passed
 [exec]   Testing 
wcs1-0-0:getcoverage_operations-getcoverage_request-response_crs-post-kvp-3 
(wcs-1.0.0/d41e1901_1)...
 [exec]  Assertion:  When a GetCoverage request is made with an 
invalid RESPONSE_CRS, the server returns service exception.
 [exec]  VAR_WCS_TEMP_CRS: EPSG:4326
 [exec]  VAR_WCS_COVERAGE_1_CRS: EPSG:4326
 [exec]  VAR_WCS_FORMAT_1: GeoTIFF
 [exec]  VAR_WCS_COVERAGE_1_BBOX: 
-19.996,40.0019995,19.998401,90.0
 [exec]   Test 
wcs1-0-0:getcoverage_operations-getcoverage_request-response_crs-post-kvp-3 
Passed
 [exec]   Testing 
wcs1-0-0:getcoverage_operations-getcoverage_request-response_crs-post-xml-2 
(wcs-1.0.0/d41e1920_1)...
 [exec]  Assertion:   When a GetCoverage request is made with a 
valid RESPONSE_CRS, the server should return the requested content with this 
CRS.
 [exec]  
 [exec]  VAR_WCS_TEMP_CRS: EPSG:4326
 [exec]  VAR_WCS_TEMP_RPCRS:
 [exec]  VAR_WCS_COVERAGE_1_CRS: EPSG:4326
 [exec]  VAR_WCS_COVERAGE_1_RESPONSE_CRS: EPSG:4326
 [exec]  VAR_WCS_FORMAT_1: GeoTIFF
 [exec]  VAR_WCS_COVERAGE_1_POSITION_FIRST: -19.996 
40.0019995
 [exec]  VAR_WCS_COVERAGE_1_POSITION_SECOND: 19.998401 90.0
 [exec]   Test 
wcs1-0-0:getcoverage_operations-getcoverage_request-response_crs-post-xml-2 
Passed
 [exec]   Testing 
wcs1-0-0:getcoverage_operations-getcoverage_request-response_crs-post-xml-3 
(wcs-1.0.0/d41e1942_1)...
 [exec]  Assertion:  When a GetCoverage request is made with an 
invalid RESPONSE_CRS, the server returns service exception.
 [exec]  VAR_WCS_TEMP_CRS: EPSG:4326
 [exec]  VAR_WCS_COVERAGE_1_CRS: EPSG:4326
 [exec]  VAR_WCS_FORMAT_1: GeoTIFF
 [exec]  VAR_WCS_COVERAGE_1_POSITION_FIRST: -19.996 
40.0019995
 [exec]  VAR_WCS_COVERAGE_1_POSITION_SECOND: 19.998401 90.0
 [exec]   Test 
wcs1-0-0:getcoverage_operations-getcoverage_request-response_crs-post-xml-3 
Passed
 [exec]   Testing 
wcs1-0-0:getcoverage_operations-getcoverage_request-service_version-get-kvp-1 
(wcs-1.0.0/d41e1959_1)...
 [exec]  Assertion:  When a GetCoverage request is made without 
version, the server returns service exception.
 [exec]  VAR_WCS_TEMP_CRS:
 [exec]  VAR_WCS_COVERAGE_1_CRS: 
You_got_this_because_you_did_not_have_crs_included_in_your_first_domainSet_in_your_first_Coverage
 [exec]  VAR_WCS_COVERAGE_1_BBOX: ,,,
 [exec]  VAR_WCS_FORMAT_1:
 [exec]   Test 
wcs1-0-0:getcoverage_operations-getcoverage_request-service_version-get-kvp-1 
Failed
 [exec]   Testing 
wcs1-0-0:getcoverage_operations-getcoverage_request-service_version-get-kvp-2 
(wcs-1.0.0/d41e1972_1)...
 [exec]  Assertion:   When a GetCoverage request is made with an 
invalid version, the server returns service exception. 
 [exec]  VAR_WCS_TEMP_CRS: EPSG:4326
 [exec]  VAR_WCS_COVERAGE_1_CRS: EPSG:4326
 [exec]  VAR_WCS_COVERAGE_1_BBOX: 
-19.996,40.0019995,19.998401,90.0
 [exec]  VAR_WCS_FORMAT_1: GeoTIFF
 [exec]   Test 
wcs1-0-0:getcoverage_operations-getcoverage_request-service_version-get-kvp-2 
Failed
 [exec]   Testing 
wcs1-0-0:getcoverage_operations-getcoverage_request-service_version-get-kvp-3 
(wcs-1.0.0/d41e1988_1)...
 [exec]  Assertion:  When a GetCoverage request is made with a 
version=1.0.0, the server should return the requested content (if other 
condition satisfied). 
 [exec]  VAR_WCS_TEMP_CRS: EPSG:4326
 [exec]  VAR_WCS_COVERAGE_1_CRS: EPSG:4326
 [exec]  VAR_WCS_COVERAGE_1_BBOX: 
-19.996,40.0019995,19.998401,90.0
 [exec]  VAR_WCS_FORMAT_1: GeoTIFF
 [exec]   Test 
wcs1-0-0:getcoverage_operations-getcoverage_request-service_version-get-kvp-3 
Passed
 [exec]   Testing 
wcs1-0-0:getcoverage_operations-getcoverage_request-service_version-post-kvp-1 
(wcs-1.0.0/d41e2008_1)...
 [exec]  Assertion:  When a GetCoverage request is made without 
version, the server returns service 

Re: [Geoserver-devel] Switching the preview to OL3

2014-01-10 Thread Andrea Aime
On Fri, Jan 10, 2014 at 5:43 PM, Bart van den Eijnden 
bart...@boundlessgeo.com wrote:

 I can work on that probably.

 So the browser detection would be in the preview page or outside of it?


If Ian's suggestion is all we need to check, then I guess it's going to be
easier to check in the geoserver code directly (less back and forth)
What do you think?

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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Switching the preview to OL3

2014-01-10 Thread Justin Deoliveira
Agreed if a check on the server can be done that would be simplest...

@Bart: do you think that check will suffice? Or do we need more context
provided only in the browser?


On Fri, Jan 10, 2014 at 10:18 AM, Andrea Aime
andrea.a...@geo-solutions.itwrote:

 On Fri, Jan 10, 2014 at 5:43 PM, Bart van den Eijnden 
 bart...@boundlessgeo.com wrote:

 I can work on that probably.

 So the browser detection would be in the preview page or outside of it?


 If Ian's suggestion is all we need to check, then I guess it's going to be
 easier to check in the geoserver code directly (less back and forth)
 What do you think?

 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

 ---


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel




-- 
*Justin Deoliveira*
Vice President, Engineering | Boundless
jdeol...@boundlessgeo.com
@j_deolive https://twitter.com/j_deolive
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] GeoServerResourceLoader implicitly checking $PWD

2014-01-10 Thread Justin Deoliveira
Hey Dustin,

Not sure the patch as is will suffice. I believe that existence clause
kicks in when the the calling code passes in a parent directory, and a path
relative to it. I fear removing it would have ill side affects. And indeed
if i apply your patch and run unit tests there are failures.

Perhaps wrapping it in a if (parent != null) might suffice... so perhaps
you could try that. And since this is about as core as a class gets in
GeoServer we'll want to ensure all unit tests pass (extensions as well)
aren't affected.

-Justin


On Thu, Jan 9, 2014 at 4:12 PM, Dustin Parker dpar...@forwardslope.comwrote:

 Hi team,

 We just stumbled over an interesting bug deploying the latest GeoServer
 master to one of our VMs. It was saying things like

  Caused by: java.io.FileNotFoundException: security/config.xml (No such
 file or directory)
 at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_45]
 at java.io.FileInputStream.init(FileInputStream.java:146)
 [rt.jar:1.7.0_45]
 at org.geoserver.security.GeoServerSecurityManager.
 loadConfigFile(GeoServerSecurityManager.java:2578) [gs-m
 at org.geoserver.security.GeoServerSecurityManager.
 loadConfigFile(GeoServerSecurityManager.java:2592) [gs-m
 at org.geoserver.security.GeoServerSecurityManager.
 loadSecurityConfig(GeoServerSecurityManager.java:2562) [
 at org.geoserver.security.GeoServerSecurityManager.migrateFrom23(
 GeoServerSecurityManager.java:2480) [gs-ma
 at org.geoserver.security.GeoServerSecurityManager.
 onApplicationEvent(GeoServerSecurityManager.java:334) [g


 We finally broke down and connected a debugger to it and found that
 GeoServerResourceLoader was ultimately looking for a directory called
 /security. We have a filesystem mounted at /security, but it doesn't belong
 to GeoServer, so loading the catalog fails. It did this because
 GeoServerResourceLoader.find(File, File) checks PWD for the requested
 directory (by calling File.exists()) and the JVM is running with a PWD of
 '/'. I submitted pull request #440 to remove this check and the modified
 WAR deploys correctly. I don't think checking PWD is a good idea, but if
 it's necessary, it should happen after GEOSERVER_DATA_DIR is checked. What
 do you all think?

 --
 Dustin Parker - Forward Slope, Inc.
 Cell: 619 277 2591

 SYBWB UI EXCEFI EK BEIF IRXMSURK SR BTBWF YMHEK
 OWRZXBH--KBES, OXEMIUZXB, EKD CWRKV. - Y. X. HBKNABK

 H4sIAOlx7FACA02MuQ7CMBQEe3/FdjTgcIWrSUMBFQVI1A5+2BaJ
 HcUPTP6eU4J2dmb37o49K0MR4Yw1lVdjnDdiJHGwinFSvsewqmnI
 SzH+Uh0o/jiCR92hVifrPEkx+VrRhmul//upxNF27xz8Uj5DIXKJ
 ne1ji0jPg5nEJiRopz8W3ahFCu2lEHOJePMoK1WTWDwrT9CqQyIk
 V1VIrWMCU+QoBrDMzSrLShWtDK3JimU+zBcj8QDNJmEc9g==




 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel




-- 
*Justin Deoliveira*
Vice President, Engineering | Boundless
jdeol...@boundlessgeo.com
@j_deolive https://twitter.com/j_deolive
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] GeoServerResourceLoader implicitly checking $PWD

2014-01-10 Thread Andrea Aime
On Fri, Jan 10, 2014 at 6:39 PM, Justin Deoliveira 
jdeol...@boundlessgeo.com wrote:

 Hey Dustin,

 Not sure the patch as is will suffice. I believe that existence clause
 kicks in when the the calling code passes in a parent directory, and a path
 relative to it. I fear removing it would have ill side affects. And indeed
 if i apply your patch and run unit tests there are failures.

 Perhaps wrapping it in a if (parent != null) might suffice... so perhaps
 you could try that. And since this is about as core as a class gets in
 GeoServer we'll want to ensure all unit tests pass (extensions as well)
 aren't affected.


Hum... wondering... does this have any relation with
http://jira.codehaus.org/browse/GEOS-6186 ?

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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Test failure in kml icon service module (if you have perceptualdiff)

2014-01-10 Thread Andrea Aime
On Fri, Jan 10, 2014 at 3:43 PM, David Winslow dwins...@boundlessgeo.comwrote:

 You're talking about
 https://github.com/geoserver/geoserver/blob/master/src/kml/src/test/java/org/geoserver/kml/icons/IconRendererTest.java?
  Just from looking at the commit log I don't see where/when the workaround
 is applied.  I'd like to revert the workaround before investigating a fix
 so I'd appreciate it if you could point me in the right direction there.


Ah hem... forgot to push. It's in now, see @BeforeClass and @AfterClass

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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] PDF documentation

2014-01-10 Thread Andrea Aime
On Fri, Jan 10, 2014 at 3:49 PM, David Winslow dwins...@boundlessgeo.comwrote:

 Latex requires multiple passes to provide intra-document links/references
 of any sort (my understanding is that Latex's semantics make it difficult
 to make a multi-pass latex compiler and without it you cannot know what the
 page numbers are for any such links.)  Generally it is necessary to run the
 'latex' command multiple times for a document of any complexity - did you
 try re-running it?


Ah! Yes, running it again makes the  TOC appear. Weird :-)


 I'll also note that any place where content runs off the page will be
 noted in an 'overfull hbox' or similar warning from the latex command.
  Tracking them back to the Sphinx/rst sources can be a pain.

Yes... don't really feel like hunting down these things...

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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [jira] (GEOS-6264) Graduate WCS 2.0 to core module

2014-01-10 Thread Andrea Aime (JIRA)














































Andrea Aime
 created  GEOS-6264


Graduate WCS 2.0 to core module















Issue Type:


Bug



Assignee:


Andrea Aime



Components:


WCS



Created:


10/Jan/14 12:06 PM



Fix Versions:


2.5-beta



Project:


GeoServer



Priority:


Major




Reporter:


Andrea Aime




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira





--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] PSC vote: graduating WCS 2.0 to core status, WCS 2.0 EO to extension status

2014-01-10 Thread Andrea Aime
All right,
the WCS 2.0 pull request is here:
https://github.com/geoserver/geoserver/pull/444

I'll make the EO one early next week

Cheers
Andrea




On Fri, Jan 10, 2014 at 2:43 AM, Jody Garnett jody.garn...@gmail.comwrote:

 Since we are moving one to core and one to extension status, I've rolled
 two GSIPs:
 *
 http://geoserver.org/display/GEOS/GSIP+102+-++Promoting+WCS+2.0+module+to+core

 I note The module has a page in the user manual: not yet, it will be
 added in the pull request to complete this proposal :)

 +1

 *
 http://geoserver.org/display/GEOS/GSIP+103+-+Promoting+WCS+2.0+EO+to+extension+status

 +1

 Thanks for getting these in before the 18th.

 Jody




-- 
== 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

---
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel