Re: [Geoserver-users] postgis connection limit and performance

2012-10-02 Thread Roope Tervo
Thanks for answers!

I have been loaded with other jobs and didn't have time to check this. I'll 
have a look soon and keep you informed.

Roope

-Original Message-
From: simbo...@gmail.com [mailto:simbo...@gmail.com] On Behalf Of Simone 
Giannecchini
Sent: 27. syyskuuta 2012 16:01
To: Roope Tervo
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] postgis connection limit and performance

Ciao Roope,
I would suggest to set up a JNDI datasource and then connect to it with a 
proper datastore.properties as explained here:
http://geobatch.geo-solutions.it/download/latest/doc/actionImageMosaic.html#using-jndi-on-postgis

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 962313
mob:   +39  333 8128928

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

---


On Wed, Sep 26, 2012 at 9:53 AM, Roope Tervo  wrote:
> Hello
>
> We have a setup with about 100 image mosaic data stores which all use 
> postgis database. At the moment every data store have maximum  5 
> connections. Now we have a problem with too many connections to the 
> database. Does anyone have any experience, is it safe to decrease 
> connections to 1 per store or does it affect to the performance?
>
> best regards
> Roope
>
>
> --
> 
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. 
> Discussions will include endpoint security, mobile security and the 
> latest in malware threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] SQL Plug-in Assistance

2012-10-02 Thread Kenny Ratliff
I'm just learning about the GeoServer project and tools.  I've loaded
GeoServer 2.2 and am trying to add the SQL plug-in using the supplied
instructions.  I'm pretty certain I've dropped the jar and dll files in the
appropriate folder.  However, I've stopped/started/restarted the service,
restarted the computer, but cannot get SQL as an option when adding a New
Store.  Can someone advise what I am missing?



Thanks,
Kenny

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] jetty vs tomcat i.e Tomcat instances

2012-10-02 Thread cmaul
There are a lot of resources available how to set up the multiple Tomcat
instances

Just 2 of the umpteen sources:
http://www.javacodegeeks.com/2011/08/multiple-tomcat-instances-on-single.html
http://www.openlogic.com/wazi/bid/188102/

Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/jetty-vs-tomcat-tp5005473p5005956.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Use image pyramids plug-in or raster tables in PostGIS v2

2012-10-02 Thread Paul Meems
I have a test server (Ubuntu) with GeoServer 2.1 and PostGIS v1.5
I also have a large aerial photo in ECW format.
I've converted this ECW file to GeoTIFF and used gdal_retile to create
tiles.
I use the pyramid plug-in to show the data.

Today I have created a second server with GeoServer 2.2 and PostGIS v2.
I've been reading about the new raster tables and I wonder if I should
continue with using the pyramid plug-in or that I should put the tiles (or
even the single GeoTiff) in PostGIS.

Does anybody have any experience, suggestions, opinions or remarks about
this?

Thanks,

Paul
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.2 outofmemory when including image mosaic tif file store

2012-10-02 Thread Andrea Aime
On Tue, Oct 2, 2012 at 7:53 PM, Markus Innerebner <
markus.innereb...@inf.unibz.it> wrote:

> I am using the newest version of geoserver in order to use the
> functionality for time series with raster data.
>
> I did the following files:
> 1) renamed the files so that they have the correct file:
> e.g. flux_20091001.tif
> 2) added the 3 property files
> 3) created a db on a postgis 2.0 database
>
> Next I included the directory to the image mosaic store:
> e.g. /data/webapps/geoserver-2.2/webapps/data/hydroalp/flux
>
> After submitting geoserver goes out of memory.
>
> I did all the steps shown in the supa dupe image mosaic video.
>
> The entire log I put here:
> http://nopaste.info/76ba1b44d1.html
>

-->java.lang.OutOfMemoryError: PermGen space

The error is due to the large number of classes GeoServer loads,
you have to setup your container to allow for a larger permgen,
see the parameter here:

http://docs.geoserver.org/stable/en/user/production/container.html#optimize-your-jvm

To be clear, it has nothing to do with the amount of data you load,
it's just related to how much functionality you end up using.

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

---
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] CAS authentication for early adopters

2012-10-02 Thread christian . mueller
Hi all, this is a long mail, TOC first

I) early adopters
II) configuration
III) discussion about the authentication entry point


I) Until now, I know about three early adopters

sonya.dow...@dpipwe.tas.gov.au
bre...@craig.fr
gmi...@library.berkeley.edu

I will send you a private mail with a zip file attached. This zip file  
contains 3 jar files which you have to put into the WEB-INF/lib folder  
of your GeoServer installation.


II) Configuration

The CAS authentication filter is able to validate proxy and service tickets.

Configuration options:

1) Name (mandatory)
The name of the filter


2) CAS Server URL (mandatory)

The URL including the context root of the CAS server. This should be  
an HTTPS URL, otherwise users will be prompted for their credentials  
for each new service ticket. (No Single Sign on )

3) No single sign on
This option makes sense if 2) is an HTTPS URL. Activating this option  
will prompt users for credentals each time a ticket is needed. The  
normal mode of operation is disabling this option and use HTTPS as  
described in 2)

4) Proxy callback URL

Only needed if GeoServer itself needs to generate a proxy ticket. This  
is not used at the moment, leave this field blank. For Geoserver  
custom extensions generating proxy tickts, this field must be filled  
with the URL of Geoserver including the context root. The CAS server  
will send reqeusts to GeoServer. This URL must use HTTPS.

5) Create HTTP Session

Basically, there are 2 modes of operations

a) Disallow HTTP session creation

For each request, the client has to include a ticket parameter which  
can be validated by cas server
Example request:

http://mygeoserver/wms?request=getCapabilites&ticket=ST-abadsd

Next request

http://mygeoserver/wms?request=getMap&ticket=ST-efdafd&bbox=...

Normally, a CAS ticket may be validated only once. As a consequence,  
there are 2 additional requests to the CAS server for each Geoserver  
request.

b) Allow HTTP session creation

In this scenario, the client sends the  ticket only once.
Example request

http://mygeoserver/wms?request=getCapabilites&ticket=ST-abadsd

The clients gets back a session cookie called JSESSIONID. For future  
requests, the client has to include this cookie, no CAS ticket needed.  
(For clients running in a browser, the cookie is included automatically)

http://mygeoserver/wms?request=getMap&bbox=...

No further requests to the CAS server are necessary, but an HTTP  
session was created for stateless services.

6) Role Source

Determines where to look for the roles of the user.

a) request header
The name of the request header attribue has to be specified. The  
client has to send the roles of the user as String delimted by ";".

b) User group service.
This is the standard role source.

c) Role service
Used if a special role service was created for the CAS authentication.


After configuring the CAS authentication filter, add this filter to  
the default filter chain. For testing, you could remove the basic auth  
filter.


III) Authentication Entry Point

Here I am not sure about a good solution. What happens if GeoServer  
receives a request without a session cookie and without a "ticket"  
parameter. At the moment, HTTP response code 401 (not authorized) is  
returned. This is nice for application clients doing proxy  
authentication, it is not nice for clients running in a browser.  
Clients in a browser have to contact the CAS server first for a valid  
ticket.

Another possibility is to work with HTTP redirects. This is nice for  
browser applications, since a request without a ticket is redirected  
to the CAS server and after a successful login, the browser is  
redirected to the original request. But this is not nice for  
applications clients doing proxy authentications getting back and HTML  
form.

IMHO, this problem is not resolvable, the only idea I have is to make  
the redirect the standard and if a client wants a 401 response, it has  
to send an additional http parameter like NOCASREDIRECT=true.

Opinions ?

Cheers
Christian


Zitat von Landry Breuil :

> On 09/22/12 16:24, christian.muel...@nvoe.at wrote:
>> Unfortunately, the CAS module did not find its way into 2.2.0, it is
>> scheduled for 2.2.1 next month.
>>
>> If there is some interest, I can send a custom jar which has to be
>> dropped into the WEB-INF/lib directory of the GeoServer installation.
>>
>> If there is some interest, I will formulate a short description of the
>> configuration.
>>
>> The CAS authentication works for OGC services and accepts
>> service/proxy tickets with an optional (but recommended) creation of
>> an HTTP session.
>
> Yes, i'd be definitely interested in testing such a setup. We're using
> georchestra which provides a CAS authentification server, and i'd like
> to test geoserver 2.2 with it. We're not going in production before
> 2.2.1 anyway, but early testing is definitely planned.
>
> --
> Landry Breuil
>
> ---

Re: [Geoserver-users] WMS/SLD Pixelated Font

2012-10-02 Thread Linde
Hello Andrea,

sorry for responding late: I'm using image/png not image/png8:

...geoserver/mwkel/wms?LAYERS=mwkel%3Alandkreis_krf_staedte&TRANSPARENT=TRUE&FORMAT=image%2Fpng&FORMAT_OPTIONS=antialias%3Aon&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A3857&BBOX=691693.64083468,6382292.9011826,797221.05791899,6422846.5228972&WIDTH=2158&HEIGHT=829

This is the single Layer with TRANSPARENT=TRUE
 

and this is the same REQUEST with TRANSPARENT=FALSE
 

Christof




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/WMS-SLD-Pixelated-Font-tp4980180p5005880.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer 2.2 GDAL plugin ECW support

2012-10-02 Thread Rahkonen Jukka
Hi,

There can be a memory leak, but one feature of ECW SDK 3.x code is that it is 
caching some data from the last visited areas and caching can't be turned off. 
For sure a good feature for interactive use of a map but totally useless for 
you when you are seeding the tilecache. You can see the effect by opening a 
biggish ECW image with any SDK 3.x based viewer, like ER Viewer, and doing a 
lot of panning and zooming. The memory reservation increases rather high. If 
you do not do anything the memory is freed after exactly 10 minutes if I 
remember right. This is just nice to know, you cannot cure it because the 
reason in in the closed ECW SDK code and 3.x version is old will not be fixed. 
However, many open source projects stick with version 3.x because license 
allows redistributing the dlls but 4.x license does not.

-Jukka-



Björn Harrtell wrote:

> Thanks. I did find 3.3 dlls (actually yanked them from the FWTools package) 
> which enabled ECW with the GDAL plugin...

> What I want to do is actually to create a tilecache from this ECW using 
> GeoServer then remove it so it's never actually served to any user which I 
> think is acceptable by the license... but seeding the cache results in 
> GeoServer out of heap memory rather quickly so in the end I resorted to 
> converting the ECW to GeoTIFF using GDAL as you suggested. Seeding from the 
> GeoTIFF is rock solid, so I think there is memory leaks going on using 
> GDAL/ECW and GeoServer.

> /Björn

2012/10/2 Rahkonen Jukka 
mailto:jukka.rahko...@mmmtike.fi>>
Daniele Romagnoli wrote:

Hi Bjorn,

On Mon, Oct 1, 2012 at 5:55 PM, Björn Harrtell 
mailto:bjorn.harrt...@gmail.com>>>
 wrote:
Hey all,

I'm having troubles getting ECW to work in GeoServer 2.2 with the GDAL plugin. 
Anyone else experiencing the same?

I'm suspecting I need a specific version of the ECW SDK. Which version(s) of 
the ECW SDK is supported with image-ext 1.1.4?
> Supposing you have purchased an ECW license (which is mandatory to use it in 
> a Server), the imageio-ext 1.1.4 plugin deals with ECW SDK 3.3.
We didn't test it with more recent version of it, yet.

> I think you could try with a more recent version of GDAL (we did some test 
> with 1.8.1 and 1.9.x) which may support that ECW version.
> Latest GDAL native libraries are available there:
> http://www.gisinternals.com/sdk/

> I see they have also provided some ECW plugin installer (I have never tried 
> them. They could be useful for your needs).
> Please, let us know.

I believe that those packages are compiled with ECW SDK 3.3, based on the 
information from
http://www.gisinternals.com/sdk/PackageInfo.aspx?file=release-1600-x64-gdal-mapserver.zip

Information may be old, though. If you want to know for sure, send mail to 
Tamas and ask. Problem with v. 4.2 is that ECW binaries cannot be delivered 
with the code because of the license, but every user must dowload them by 
himself from Erdas.

Some more reading about GDAL and ECW is here 
http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal-ecw

You may want to have a try by converting ECW images to tiled JPEG-in-tiff 
images with GDAL. Image size is about the same as with ECW, difference in 
quality is not huge and license problems are gone for ever. Commands to use 
(adapt parameters to suit your imagery):

gdal_translate -of GTiff -co tiled=yes  -co compress=jpeg -co photometric=YCBCR 
input.ecw output.tif

gdaladdo -r average  --config COMPRESS_OVERVIEW JPEG --config 
PHOTOMETRIC_OVERVIEW YCBCR  output.tif 2 4 8 16 32 64


-Jukka Rahkonen-

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] time series on raster data

2012-10-02 Thread Simone Giannecchini
Ciao Phil,
I am trading some of my spare time with user documentation written from markus.
Hopefully, a nice guide eventually will come out for this functionality.

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 Mon, Oct 1, 2012 at 12:41 AM, Phil Scadden  wrote:
> I am also pretty interested in doing this, so i would also be keen to
> see a guide.
>
> A link to geosolutions youtube channel might be good on the
> documentation or blog page.
>
> Notice: This email and any attachments are confidential. If received in error 
> please destroy and immediately notify us. Do not copy or disclose the 
> contents.
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer 2.2 GDAL plugin ECW support

2012-10-02 Thread Björn Harrtell
Thanks. I did find 3.3 dlls (actually yanked them from the FWTools package)
which enabled ECW with the GDAL plugin...

What I want to do is actually to create a tilecache from this ECW using
GeoServer then remove it so it's never actually served to any user which I
think is acceptable by the license... but seeding the cache results in
GeoServer out of heap memory rather quickly so in the end I resorted to
converting the ECW to GeoTIFF using GDAL as you suggested. Seeding from the
GeoTIFF is rock solid, so I think there is memory leaks going on using
GDAL/ECW and GeoServer.

/Björn

2012/10/2 Rahkonen Jukka 

> Daniele Romagnoli wrote:
>
> Hi Bjorn,
>
> On Mon, Oct 1, 2012 at 5:55 PM, Björn Harrtell  > wrote:
> Hey all,
>
> I'm having troubles getting ECW to work in GeoServer 2.2 with the GDAL
> plugin. Anyone else experiencing the same?
>
> I'm suspecting I need a specific version of the ECW SDK. Which version(s)
> of the ECW SDK is supported with image-ext 1.1.4?
> > Supposing you have purchased an ECW license (which is mandatory to use
> it in a Server), the imageio-ext 1.1.4 plugin deals with ECW SDK 3.3.
> We didn't test it with more recent version of it, yet.
>
> > I think you could try with a more recent version of GDAL (we did some
> test with 1.8.1 and 1.9.x) which may support that ECW version.
> > Latest GDAL native libraries are available there:
> > http://www.gisinternals.com/sdk/
>
> > I see they have also provided some ECW plugin installer (I have never
> tried them. They could be useful for your needs).
> > Please, let us know.
>
> I believe that those packages are compiled with ECW SDK 3.3, based on the
> information from
>
> http://www.gisinternals.com/sdk/PackageInfo.aspx?file=release-1600-x64-gdal-mapserver.zip
>
> Information may be old, though. If you want to know for sure, send mail to
> Tamas and ask. Problem with v. 4.2 is that ECW binaries cannot be delivered
> with the code because of the license, but every user must dowload them by
> himself from Erdas.
>
> Some more reading about GDAL and ECW is here
> http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal-ecw
>
> You may want to have a try by converting ECW images to tiled JPEG-in-tiff
> images with GDAL. Image size is about the same as with ECW, difference in
> quality is not huge and license problems are gone for ever. Commands to use
> (adapt parameters to suit your imagery):
>
> gdal_translate -of GTiff -co tiled=yes  -co compress=jpeg -co
> photometric=YCBCR input.ecw output.tif
>
> gdaladdo -r average  --config COMPRESS_OVERVIEW JPEG --config
> PHOTOMETRIC_OVERVIEW YCBCR  output.tif 2 4 8 16 32 64
>
>
> -Jukka Rahkonen-
>
>
> --
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer 2.2 GDAL plugin ECW support

2012-10-02 Thread Rahkonen Jukka
Daniele Romagnoli wrote:

Hi Bjorn,

On Mon, Oct 1, 2012 at 5:55 PM, Björn Harrtell 
mailto:bjorn.harrt...@gmail.com>> wrote:
Hey all,

I'm having troubles getting ECW to work in GeoServer 2.2 with the GDAL plugin. 
Anyone else experiencing the same?

I'm suspecting I need a specific version of the ECW SDK. Which version(s) of 
the ECW SDK is supported with image-ext 1.1.4?
> Supposing you have purchased an ECW license (which is mandatory to use it in 
> a Server), the imageio-ext 1.1.4 plugin deals with ECW SDK 3.3.
We didn't test it with more recent version of it, yet.

> I think you could try with a more recent version of GDAL (we did some test 
> with 1.8.1 and 1.9.x) which may support that ECW version.
> Latest GDAL native libraries are available there:
> http://www.gisinternals.com/sdk/

> I see they have also provided some ECW plugin installer (I have never tried 
> them. They could be useful for your needs).
> Please, let us know.

I believe that those packages are compiled with ECW SDK 3.3, based on the 
information from
http://www.gisinternals.com/sdk/PackageInfo.aspx?file=release-1600-x64-gdal-mapserver.zip

Information may be old, though. If you want to know for sure, send mail to 
Tamas and ask. Problem with v. 4.2 is that ECW binaries cannot be delivered 
with the code because of the license, but every user must dowload them by 
himself from Erdas.

Some more reading about GDAL and ECW is here 
http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal-ecw

You may want to have a try by converting ECW images to tiled JPEG-in-tiff 
images with GDAL. Image size is about the same as with ECW, difference in 
quality is not huge and license problems are gone for ever. Commands to use 
(adapt parameters to suit your imagery):

gdal_translate -of GTiff -co tiled=yes  -co compress=jpeg -co photometric=YCBCR 
input.ecw output.tif

gdaladdo -r average  --config COMPRESS_OVERVIEW JPEG --config 
PHOTOMETRIC_OVERVIEW YCBCR  output.tif 2 4 8 16 32 64


-Jukka Rahkonen-

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer 2.2 GDAL plugin ECW support

2012-10-02 Thread Daniele Romagnoli
Hi Bjorn,

On Mon, Oct 1, 2012 at 5:55 PM, Björn Harrtell wrote:

> Hey all,
>
> I'm having troubles getting ECW to work in GeoServer 2.2 with the GDAL
> plugin. Anyone else experiencing the same?
>
> I'm suspecting I need a specific version of the ECW SDK. Which version(s)
> of the ECW SDK is supported with image-ext 1.1.4?
>
Supposing you have purchased an ECW license (which is mandatory to use it
in a Server), the imageio-ext 1.1.4 plugin deals with ECW SDK 3.3.
We didn't test it with more recent version of it, yet.

I think you could try with a more recent version of GDAL (we did some test
with 1.8.1 and 1.9.x) which may support that ECW version.
Latest GDAL native libraries are available there:
http://www.gisinternals.com/sdk/

I see they have also provided some ECW plugin installer (I have never tried
them. They could be useful for your needs).
Please, let us know.

Daniele


>  I'm getting no luck with 4.2 and I cannot find version 3.3 which might be
> the one needed as it is indicated at the natives download page here:
>
>
> http://java.net/projects/imageio-ext/downloads/directory/Releases/Dependencies/GDAL/NativeLibraries/1.7.3/Windows32
>
> /Björn
>
>
> --
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


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

Ing. Daniele Romagnoli
Senior 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

---
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users