[Geoserver-users] [OT] New user needs general help

Sorry for asking this on the GeoServer specific users help, but I did not know where else to ask.

I am new to GIS and have been working with ESRI products because I have to. I am trying to, at home, setup geoserver 1.7.4 to experiment and learn with. I have currently downloaded multiple jpeg2000 images of South Florida and would like to get them into a form I can display in geoserver.

What is the best way to do this? Is there an easy way to setup a coverage while pulling the data from multiple image files or should I create a single mosaic of all my jpg2 files? If the best way is to create the mosaic, could yuo recommend some no cost command line linux tools for doing this easily?

Thanks and look forward to working more with geoserver.

Robert

For tiling and building pyramids, look here http://www.gdal.org/gdal_retile.html

For merging, there gdal_merge.py.

if you want to store your tiles in a database like arcsde, look here
http://docs.geoserver.org/1.7.x/user/tutorials/imagemosiac-jdbc/imagemosaic- jdbc_tutorial.html

Robert Webb writes:

Sorry for asking this on the GeoServer specific users help, but I did not know where else to ask.

I am new to GIS and have been working with ESRI products because I have to. I am trying to, at home, setup geoserver 1.7.4 to experiment and learn with. I have currently downloaded multiple jpeg2000 images of South Florida and would like to get them into a form I can display in geoserver.

What is the best way to do this? Is there an easy way to setup a coverage while pulling the data from multiple image files or should I create a single mosaic of all my jpg2 files? If the best way is to create the mosaic, could yuo recommend some no cost command line linux tools for doing this easily?

Thanks and look forward to working more with geoserver.

Robert

Hi Robert,
The new ImageMosaic Geotool’s plugin will automatically build a mosaic from a folder containing several images. (Note that the images should have some similarities in terms of resolution)
Moreover, this plugin leverages on the imageio-ext-gdal plugin which allows to access several type of images (JP2K included).
The ImageMosaic plugin is used within geoserver when you define a new imagemosaic coveragestore from that folder.

Therefore, you should be able to achieve your task.
You need to get the GDAL native libraries from 1 to be deployed on your JDK/bin
Get the GDAL crs definition from 2 to be deployed on your disk. (Set a GDAL_DATA environment folder pointing to that location).

More Info available at 3,4.

Hope this help.
Regards,
Daniele

On Thu, May 14, 2009 at 3:44 PM, Robert Webb <rwebb@anonymised.com> wrote:

Sorry for asking this on the GeoServer specific users help, but I did not know where else to ask.

I am new to GIS and have been working with ESRI products because I have to. I am trying to, at home, setup geoserver 1.7.4 to experiment and learn with. I have currently downloaded multiple jpeg2000 images of South Florida and would like to get them into a form I can display in geoserver.

What is the best way to do this? Is there an easy way to setup a coverage while pulling the data from multiple image files or should I create a single mosaic of all my jpg2 files? If the best way is to create the mosaic, could yuo recommend some no cost command line linux tools for doing this easily?

Thanks and look forward to working more with geoserver.

Robert


The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there’s a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you’ll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com


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

Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it


Errata corrige:
set a GDAL_DATA environment folder —> set a GDAL_DATA environment variable

:slight_smile:

Daniele

On Thu, May 14, 2009 at 4:43 PM, Daniele Romagnoli <daniele.romagnoli@anonymised.com1107…> wrote:

Hi Robert,
The new ImageMosaic Geotool’s plugin will automatically build a mosaic from a folder containing several images. (Note that the images should have some similarities in terms of resolution)
Moreover, this plugin leverages on the imageio-ext-gdal plugin which allows to access several type of images (JP2K included).
The ImageMosaic plugin is used within geoserver when you define a new imagemosaic coveragestore from that folder.

Therefore, you should be able to achieve your task.
You need to get the GDAL native libraries from 1 to be deployed on your JDK/bin
Get the GDAL crs definition from 2 to be deployed on your disk. (Set a GDAL_DATA environment folder pointing to that location).

More Info available at 3,4.

Hope this help.
Regards,
Daniele

On Thu, May 14, 2009 at 3:44 PM, Robert Webb <rwebb@anonymised.com> wrote:

Sorry for asking this on the GeoServer specific users help, but I did not know where else to ask.

I am new to GIS and have been working with ESRI products because I have to. I am trying to, at home, setup geoserver 1.7.4 to experiment and learn with. I have currently downloaded multiple jpeg2000 images of South Florida and would like to get them into a form I can display in geoserver.

What is the best way to do this? Is there an easy way to setup a coverage while pulling the data from multiple image files or should I create a single mosaic of all my jpg2 files? If the best way is to create the mosaic, could yuo recommend some no cost command line linux tools for doing this easily?

Thanks and look forward to working more with geoserver.

Robert


The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there’s a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you’ll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com


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

Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it


Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it


Ok, I htink I have the GDAL working. When I open up the WCS plugins I am seeing multiple plugins including one called JP2MrSID. I can add a single jp2 file and display it from the demo just fine. However, I cannot figure out how to mosaic multiple jp2 files in a directory automatically using any of the plugins. They are all requiring a specific jp2 file name and will only display that file.

Thanks for the help so far…

Robert


From: dany.geotools@anonymised.com [dany.geotools@anonymised.com] On Behalf Of Daniele Romagnoli [daniele.romagnoli@anonymised.com7…]
Sent: Thursday, May 14, 2009 10:43 AM
To: Robert Webb
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Hi Robert,
The new ImageMosaic Geotool’s plugin will automatically build a mosaic from a folder containing several images. (Note that the images should have some similarities in terms of resolution)
Moreover, this plugin leverages on the imageio-ext-gdal plugin which allows to access several type of images (JP2K included).
The ImageMosaic plugin is used within geoserver when you define a new imagemosaic coveragestore from that folder.

Therefore, you should be able to achieve your task.
You need to get the GDAL native libraries from 1 to be deployed on your JDK/bin
Get the GDAL crs definition from 2 to be deployed on your disk. (Set a GDAL_DATA environment folder pointing to that location).

More Info available at 3,4.

Hope this help.
Regards,
Daniele

On Thu, May 14, 2009 at 3:44 PM, Robert Webb <rwebb@anonymised.com> wrote:

Sorry for asking this on the GeoServer specific users help, but I did not know where else to ask.

I am new to GIS and have been working with ESRI products because I have to. I am trying to, at home, setup geoserver 1.7.4 to experiment and learn with. I have currently downloaded multiple jpeg2000 images of South Florida and would like to get them into a form I can display in geoserver.

What is the best way to do this? Is there an easy way to setup a coverage while pulling the data from multiple image files or should I create a single mosaic of all my jpg2 files? If the best way is to create the mosaic, could yuo recommend some no cost command line linux tools for doing this easily?

Thanks and look forward to working more with geoserver.

Robert


The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there’s a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you’ll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com


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

Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it


Dear Robert,
in order to configure your data as a mosaic, put all of them in a
single directory then configure a mosaic coveragestore that simply
points to that directory, the mosaic should be built automatically.
Let me know about your progresses.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Thu, May 14, 2009 at 10:39 PM, Robert Webb <rwebb@anonymised.com> wrote:

Ok, I htink I have the GDAL working. When I open up the WCS plugins I am
seeing multiple plugins including one called JP2MrSID. I can add a single
jp2 file and display it from the demo just fine. However, I cannot figure
out how to mosaic multiple jp2 files in a directory automatically using any
of the plugins. They are all requiring a specific jp2 file name and will
only display that file.

Thanks for the help so far....

Robert
________________________________
From: dany.geotools@anonymised.com [dany.geotools@anonymised.com] On Behalf Of Daniele
Romagnoli [daniele.romagnoli@anonymised.com]
Sent: Thursday, May 14, 2009 10:43 AM
To: Robert Webb
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Hi Robert,
The new ImageMosaic Geotool's plugin will automatically build a mosaic from
a folder containing several images. (Note that the images should have some
similarities in terms of resolution)
Moreover, this plugin leverages on the imageio-ext-gdal plugin which allows
to access several type of images (JP2K included).
The ImageMosaic plugin is used within geoserver when you define a new
imagemosaic coveragestore from that folder.

Therefore, you should be able to achieve your task.
You need to get the GDAL native libraries from [1] to be deployed on your
JDK/bin
Get the GDAL crs definition from [2] to be deployed on your disk. (Set a
GDAL_DATA environment folder pointing to that location).

More Info available at [3],[4].

Hope this help.
Regards,
Daniele

[1]:https://imageio-ext.dev.java.net/servlets/ProjectDocumentList?folderID=11287&expandFolder=11287&folderID=10435
[2]:https://imageio-ext.dev.java.net/files/documents/7505/133661/gdal_data-1.4.4.zip
[3]:http://docs.codehaus.org/display/GEOTOOLS/ImageIO-EXT+GDAL
[4]:http://geoserver.org/display/GEOSDOC/ImageIO-ext+GDAL+extensions
(* I will update [4] for GS 1.7.4 asap)

On Thu, May 14, 2009 at 3:44 PM, Robert Webb <rwebb@anonymised.com> wrote:

Sorry for asking this on the GeoServer specific users help, but I did not
know where else to ask.

I am new to GIS and have been working with ESRI products because I have
to. I am trying to, at home, setup geoserver 1.7.4 to experiment and learn
with. I have currently downloaded multiple jpeg2000 images of South Florida
and would like to get them into a form I can display in geoserver.

What is the best way to do this? Is there an easy way to setup a coverage
while pulling the data from multiple image files or should I create a single
mosaic of all my jpg2 files? If the best way is to create the mosaic, could
yuo recommend some no cost command line linux tools for doing this easily?

Thanks and look forward to working more with geoserver.

Robert

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
-------------------------------------------------------
Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it

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

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Simone,

Thanks for the help. I did as you requested but still not working. Question though...

Should the url be "file:coverages/Florida/DOQQ/jpeg2000/g16/" or something different. What options are available in place of "file:"?

Here is the error I get:

"Invalid url: 'file:coverages/Florida/DOQQ/jpeg2000/g16/' for format type:'ImageMosaic'.

Thanks again...

-----Original Message-----
From: Simone Giannecchini [mailto:simboss1@anonymised.com]
Sent: Thursday, May 14, 2009 6:25 PM
To: Robert Webb
Cc: Daniele Romagnoli; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Dear Robert,
in order to configure your data as a mosaic, put all of them in a
single directory then configure a mosaic coveragestore that simply
points to that directory, the mosaic should be built automatically.
Let me know about your progresses.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Thu, May 14, 2009 at 10:39 PM, Robert Webb <rwebb@anonymised.com> wrote:

Ok, I htink I have the GDAL working. When I open up the WCS plugins I am
seeing multiple plugins including one called JP2MrSID. I can add a single
jp2 file and display it from the demo just fine. However, I cannot figure
out how to mosaic multiple jp2 files in a directory automatically using any
of the plugins. They are all requiring a specific jp2 file name and will
only display that file.

Thanks for the help so far....

Robert
________________________________
From: dany.geotools@anonymised.com [dany.geotools@anonymised.com] On Behalf Of Daniele
Romagnoli [daniele.romagnoli@anonymised.com]
Sent: Thursday, May 14, 2009 10:43 AM
To: Robert Webb
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Hi Robert,
The new ImageMosaic Geotool's plugin will automatically build a mosaic from
a folder containing several images. (Note that the images should have some
similarities in terms of resolution)
Moreover, this plugin leverages on the imageio-ext-gdal plugin which allows
to access several type of images (JP2K included).
The ImageMosaic plugin is used within geoserver when you define a new
imagemosaic coveragestore from that folder.

Therefore, you should be able to achieve your task.
You need to get the GDAL native libraries from [1] to be deployed on your
JDK/bin
Get the GDAL crs definition from [2] to be deployed on your disk. (Set a
GDAL_DATA environment folder pointing to that location).

More Info available at [3],[4].

Hope this help.
Regards,
Daniele

[1]:https://imageio-ext.dev.java.net/servlets/ProjectDocumentList?folderID=11287&expandFolder=11287&folderID=10435
[2]:https://imageio-ext.dev.java.net/files/documents/7505/133661/gdal_data-1.4.4.zip
[3]:http://docs.codehaus.org/display/GEOTOOLS/ImageIO-EXT+GDAL
[4]:http://geoserver.org/display/GEOSDOC/ImageIO-ext+GDAL+extensions
(* I will update [4] for GS 1.7.4 asap)

On Thu, May 14, 2009 at 3:44 PM, Robert Webb <rwebb@anonymised.com> wrote:

Sorry for asking this on the GeoServer specific users help, but I did not
know where else to ask.

I am new to GIS and have been working with ESRI products because I have
to. I am trying to, at home, setup geoserver 1.7.4 to experiment and learn
with. I have currently downloaded multiple jpeg2000 images of South Florida
and would like to get them into a form I can display in geoserver.

What is the best way to do this? Is there an easy way to setup a coverage
while pulling the data from multiple image files or should I create a single
mosaic of all my jpg2 files? If the best way is to create the mosaic, could
yuo recommend some no cost command line linux tools for doing this easily?

Thanks and look forward to working more with geoserver.

Robert

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
-------------------------------------------------------
Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it

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

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Robert Webb ha scritto:

Simone,

Thanks for the help. I did as you requested but still not working. Question though...

Should the url be "file:coverages/Florida/DOQQ/jpeg2000/g16/" or something different. What options are available in place of "file:"?

Here is the error I get:

"Invalid url: 'file:coverages/Florida/DOQQ/jpeg2000/g16/' for format type:'ImageMosaic'.

You can either use an absolute path to the directory... hmmm
what you used should be correct, thought it's unadvisable.
coverages/... is a configuration directory, don't put data
into it. Better put your data into the data subfolder
of the data directory, something like:
data/Florida/DOQQ/jpeg2000/g16/

and then your url should work fine.
Also, to have mosaic respond to a directory url you need
to use at least GeoServer 1.7.4, thought, for a mosaic of
jpeg2000 images, I would recommend a nightly build, Simone
has fixed a critical performance issue related to
mosaic of few, very big tiles since the 1.7.4 release
(nightly builds are available here:
  http://gridlock.openplans.org/geoserver/1.7.x/).
Also, if you manage to configure the mosaic, remember to specify
"512,512" as the suggested tile size, otherwise performance
will be abysmal.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Dear Robert,
I'd add to what aaime said the following.
Can you try to configure, in case you haven't done that yet, a single
jp2 file to check that everything si correctly installed?

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Fri, May 15, 2009 at 8:10 AM, Andrea Aime <aaime@anonymised.com> wrote:

Robert Webb ha scritto:

Simone,

Thanks for the help. I did as you requested but still not working.
Question though...

Should the url be "file:coverages/Florida/DOQQ/jpeg2000/g16/" or something
different. What options are available in place of "file:"?

Here is the error I get:

"Invalid url: 'file:coverages/Florida/DOQQ/jpeg2000/g16/' for format
type:'ImageMosaic'.

You can either use an absolute path to the directory... hmmm
what you used should be correct, thought it's unadvisable.
coverages/... is a configuration directory, don't put data
into it. Better put your data into the data subfolder
of the data directory, something like:
data/Florida/DOQQ/jpeg2000/g16/

and then your url should work fine.
Also, to have mosaic respond to a directory url you need
to use at least GeoServer 1.7.4, thought, for a mosaic of
jpeg2000 images, I would recommend a nightly build, Simone
has fixed a critical performance issue related to
mosaic of few, very big tiles since the 1.7.4 release
(nightly builds are available here:
http://gridlock.openplans.org/geoserver/1.7.x/).
Also, if you manage to configure the mosaic, remember to specify
"512,512" as the suggested tile size, otherwise performance
will be abysmal.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Friday, May 15, 2009 2:10 AM
To: Robert Webb
Cc: Simone Giannecchini; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Robert Webb ha scritto:
> Simone,
>
> Thanks for the help. I did as you requested but still not working.
Question though...
>
> Should the url be "file:coverages/Florida/DOQQ/jpeg2000/g16/" or
something different. What options are available in place of "file:"?
>
> Here is the error I get:
>
> "Invalid url: 'file:coverages/Florida/DOQQ/jpeg2000/g16/' for format
type:'ImageMosaic'.

You can either use an absolute path to the directory... hmmm
what you used should be correct, thought it's unadvisable.
coverages/... is a configuration directory, don't put data
into it. Better put your data into the data subfolder
of the data directory, something like:
data/Florida/DOQQ/jpeg2000/g16/

and then your url should work fine.
Also, to have mosaic respond to a directory url you need
to use at least GeoServer 1.7.4, thought, for a mosaic of
jpeg2000 images, I would recommend a nightly build, Simone
has fixed a critical performance issue related to
mosaic of few, very big tiles since the 1.7.4 release
(nightly builds are available here:
  http://gridlock.openplans.org/geoserver/1.7.x/).
Also, if you manage to configure the mosaic, remember to specify
"512,512" as the suggested tile size, otherwise performance
will be abysmal.

Thanks to the both of you. Here is my setup...

Already running 1.7.4, using the setup but picking the JP2K plug in and using the same URL but actually adding a filename works and displays a single file, the location where I have my JP2 files (and now even a couple of MrSID files) is where the sample data is located at "/opt/tomcat-6.0/webapps/geoserver/data/coverages/...".

Not sure what else I am not understanding. Oh, I did make sure that the owner on all the new files is "tomcat" like the rest of the data.

Robert

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Friday, May 15, 2009 2:10 AM
To: Robert Webb
Cc: Simone Giannecchini; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Robert Webb ha scritto:
> Simone,
>
> Thanks for the help. I did as you requested but still not working.
Question though...
>
> Should the url be "file:coverages/Florida/DOQQ/jpeg2000/g16/" or
something different. What options are available in place of "file:"?
>
> Here is the error I get:
>
> "Invalid url: 'file:coverages/Florida/DOQQ/jpeg2000/g16/' for format
type:'ImageMosaic'.

You can either use an absolute path to the directory... hmmm
what you used should be correct, thought it's unadvisable.
coverages/... is a configuration directory, don't put data
into it. Better put your data into the data subfolder
of the data directory, something like:
data/Florida/DOQQ/jpeg2000/g16/

and then your url should work fine.
Also, to have mosaic respond to a directory url you need
to use at least GeoServer 1.7.4, thought, for a mosaic of
jpeg2000 images, I would recommend a nightly build, Simone
has fixed a critical performance issue related to
mosaic of few, very big tiles since the 1.7.4 release
(nightly builds are available here:
  http://gridlock.openplans.org/geoserver/1.7.x/).
Also, if you manage to configure the mosaic, remember to specify
"512,512" as the suggested tile size, otherwise performance
will be abysmal.

Ok, I just realized that the proper data folder is "/opt/tomcat-6.0/webapps/geoserver/data/data/..." and not what I put in my previous email. Have a double "data" structure is confusing. Will move the files and try again.

Robert

Ciao Robert,
keep us posted, me and Daniele are going to be around for another 5 hours!

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Fri, May 15, 2009 at 2:15 PM, Robert Webb <rwebb@anonymised.com> wrote:

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Friday, May 15, 2009 2:10 AM
To: Robert Webb
Cc: Simone Giannecchini; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Robert Webb ha scritto:
> Simone,
>
> Thanks for the help. I did as you requested but still not working.
Question though...
>
> Should the url be "file:coverages/Florida/DOQQ/jpeg2000/g16/" or
something different. What options are available in place of "file:"?
>
> Here is the error I get:
>
> "Invalid url: 'file:coverages/Florida/DOQQ/jpeg2000/g16/' for format
type:'ImageMosaic'.

You can either use an absolute path to the directory... hmmm
what you used should be correct, thought it's unadvisable.
coverages/... is a configuration directory, don't put data
into it. Better put your data into the data subfolder
of the data directory, something like:
data/Florida/DOQQ/jpeg2000/g16/

and then your url should work fine.
Also, to have mosaic respond to a directory url you need
to use at least GeoServer 1.7.4, thought, for a mosaic of
jpeg2000 images, I would recommend a nightly build, Simone
has fixed a critical performance issue related to
mosaic of few, very big tiles since the 1.7.4 release
(nightly builds are available here:
http://gridlock.openplans.org/geoserver/1.7.x/).
Also, if you manage to configure the mosaic, remember to specify
"512,512" as the suggested tile size, otherwise performance
will be abysmal.

Ok, I just realized that the proper data folder is "/opt/tomcat-6.0/webapps/geoserver/data/data/..." and not what I put in my previous email. Have a double "data" structure is confusing. Will move the files and try again.

Robert

Ok, still not working. Tried the URL as "file:/opt/tomcat-6.0/webapps/geoserver/data/data/jpeg2000/g05/" and "file: data/data/jpeg2000/g05/".

Just a thought... With the mosaic plugin, is it supposed to automatically see that there is some type of raster file and build the mosaic automatically? Or is there supposed to be some other type of file in that directory that tells the plugin what to look for? ie. A definition file with a list of filenames.

I am running the 1.7.4 war file from the website. Sorry for all the issues on this. I think once I can get this working I will be fine for other things. I already have a postgis and MS SQL 2008 data store set up.

Robert

-----Original Message-----
From: simboss1@anonymised.com [mailto:simboss1@anonymised.com] On Behalf Of Simone
Giannecchini
Sent: Friday, May 15, 2009 8:16 AM
To: Robert Webb
Cc: Andrea Aime; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Ciao Robert,
keep us posted, me and Daniele are going to be around for another 5 hours!

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Fri, May 15, 2009 at 2:15 PM, Robert Webb <rwebb@anonymised.com> wrote:
>> -----Original Message-----
>> From: Andrea Aime [mailto:aaime@anonymised.com]
>> Sent: Friday, May 15, 2009 2:10 AM
>> To: Robert Webb
>> Cc: Simone Giannecchini; geoserver-users@lists.sourceforge.net
>> Subject: Re: [Geoserver-users] [OT] New user needs general help
>>
>> Robert Webb ha scritto:
>> > Simone,
>> >
>> > Thanks for the help. I did as you requested but still not working.
>> Question though...
>> >
>> > Should the url be "file:coverages/Florida/DOQQ/jpeg2000/g16/" or
>> something different. What options are available in place of "file:"?
>> >
>> > Here is the error I get:
>> >
>> > "Invalid url: 'file:coverages/Florida/DOQQ/jpeg2000/g16/' for format
>> type:'ImageMosaic'.
>>
>> You can either use an absolute path to the directory... hmmm
>> what you used should be correct, thought it's unadvisable.
>> coverages/... is a configuration directory, don't put data
>> into it. Better put your data into the data subfolder
>> of the data directory, something like:
>> data/Florida/DOQQ/jpeg2000/g16/
>>
>> and then your url should work fine.
>> Also, to have mosaic respond to a directory url you need
>> to use at least GeoServer 1.7.4, thought, for a mosaic of
>> jpeg2000 images, I would recommend a nightly build, Simone
>> has fixed a critical performance issue related to
>> mosaic of few, very big tiles since the 1.7.4 release
>> (nightly builds are available here:
>> http://gridlock.openplans.org/geoserver/1.7.x/).
>> Also, if you manage to configure the mosaic, remember to specify
>> "512,512" as the suggested tile size, otherwise performance
>> will be abysmal.
>>
>
> Ok, I just realized that the proper data folder is "/opt/tomcat-
6.0/webapps/geoserver/data/data/..." and not what I put in my previous
email. Have a double "data" structure is confusing. Will move the files
and try again.
>
> Robert
>

On Fri, May 15, 2009 at 8:24 AM, Robert Webb <rwebb@anonymised.com> wrote:

Ok, still not working. Tried the URL as "file:/opt/tomcat-6.0/webapps/geoserver/data/data/jpeg2000/g05/" and "file: data/data/jpeg2000/g05/".

Shouldn't that be
"file:///opt/tomcat-6.0/webapps/geoserver/data/data/jpeg2000/g05/"?
That's the technically correct format for a file: URL. and it's how I
set up the paths to a bunch of my coverage stores.

--
This message brought to you by Speed of Light Beer
When you're approaching infinite mass
It's Speed of Light time!

-----Original Message-----
From: Joshua M. Thompson [mailto:joshua.thompson@anonymised.com]
Sent: Friday, May 15, 2009 10:51 AM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

On Fri, May 15, 2009 at 8:24 AM, Robert Webb <rwebb@anonymised.com> wrote:
> Ok, still not working. Tried the URL as "file:/opt/tomcat-
6.0/webapps/geoserver/data/data/jpeg2000/g05/" and "file:
data/data/jpeg2000/g05/".

Shouldn't that be
"file:///opt/tomcat-6.0/webapps/geoserver/data/data/jpeg2000/g05/"?
That's the technically correct format for a file: URL. and it's how I
set up the paths to a bunch of my coverage stores.

Tried your suggestion and I did get the coverage and coverage store setup. However, when I click on the coverage from the demo I do not get anything displayed. Just the bounding box and controls.

I do see seven new files created in the directory. All of them start with g05-sids (which is the directory name) and have the extensions of dbf, fix, prj, properties, qix, shp, shx.

I am seeing the following on the Catalina.out log:

May 15, 2009 11:52:52 AM it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error: IReadBlock failed at X offset 6, Y offset 6
May 15, 2009 11:52:52 AM it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error number: 1
May 15, 2009 11:52:52 AM it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error type: 3

Hi Robert,
can you give us some additional information about the images are you mosaicking?
Do they share some similarities or are you trying to mosaic totally different images? (as an instance: different types, different overviews characteristics, totally different resolution,…)

Let us know.
Regards,
Daniele

On Fri, May 15, 2009 at 5:57 PM, Robert Webb <rwebb@anonymised.com> wrote:

-----Original Message-----
From: Joshua M. Thompson [mailto:joshua.thompson@anonymised.com]
Sent: Friday, May 15, 2009 10:51 AM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

On Fri, May 15, 2009 at 8:24 AM, Robert Webb <rwebb@anonymised.com> wrote:

Ok, still not working. Tried the URL as “file:/opt/tomcat-
6.0/webapps/geoserver/data/data/jpeg2000/g05/” and “file:
data/data/jpeg2000/g05/”.

Shouldn’t that be
“file:///opt/tomcat-6.0/webapps/geoserver/data/data/jpeg2000/g05/”?
That’s the technically correct format for a file: URL. and it’s how I
set up the paths to a bunch of my coverage stores.

Tried your suggestion and I did get the coverage and coverage store setup. However, when I click on the coverage from the demo I do not get anything displayed. Just the bounding box and controls.

I do see seven new files created in the directory. All of them start with g05-sids (which is the directory name) and have the extensions of dbf, fix, prj, properties, qix, shp, shx.

I am seeing the following on the Catalina.out log:

May 15, 2009 11:52:52 AM it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error: IReadBlock failed at X offset 6, Y offset 6
May 15, 2009 11:52:52 AM it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error number: 1
May 15, 2009 11:52:52 AM it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error type: 3


Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects


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

Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it


All images are the same as far as type. They are land images where in each directory they line up next to each other from east to west. They should all have the same characteristics for the most part.

I got them from here: http://data.labins.org/2003/MappingData/DOQQ/doqq_04_utm_sid.cfm

________________________________
From: dany.geotools@anonymised.com [mailto:dany.geotools@anonymised.com] On Behalf Of Daniele Romagnoli
Sent: Friday, May 15, 2009 12:22 PM
To: Robert Webb
Cc: Joshua M. Thompson; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Hi Robert,
can you give us some additional information about the images are you mosaicking?
Do they share some similarities or are you trying to mosaic totally different images? (as an instance: different types, different overviews characteristics, totally different resolution,..)

Let us know.
Regards,
Daniele

On Fri, May 15, 2009 at 5:57 PM, Robert Webb <rwebb@anonymised.com<mailto:rwebb@anonymised.com>> wrote:

-----Original Message-----
From: Joshua M. Thompson [mailto:joshua.thompson@anonymised.com]
Sent: Friday, May 15, 2009 10:51 AM
To: geoserver-users@lists.sourceforge.net<mailto:geoserver-users@anonymised.comurceforge.net>
Subject: Re: [Geoserver-users] [OT] New user needs general help

On Fri, May 15, 2009 at 8:24 AM, Robert Webb <rwebb@anonymised.com<mailto:rwebb@anonymised.com>> wrote:
> Ok, still not working. Tried the URL as "file:/opt/tomcat-
6.0/webapps/geoserver/data/data/jpeg2000/g05/" and "file:
data/data/jpeg2000/g05/".

Shouldn't that be
"file:///opt/tomcat-6.0/webapps/geoserver/data/data/jpeg2000/g05/"?
That's the technically correct format for a file: URL. and it's how I
set up the paths to a bunch of my coverage stores.

Tried your suggestion and I did get the coverage and coverage store setup. However, when I click on the coverage from the demo I do not get anything displayed. Just the bounding box and controls.

I do see seven new files created in the directory. All of them start with g05-sids (which is the directory name) and have the extensions of dbf, fix, prj, properties, qix, shp, shx.

I am seeing the following on the Catalina.out log:

May 15, 2009 11:52:52 AM it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error: IReadBlock failed at X offset 6, Y offset 6
May 15, 2009 11:52:52 AM it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error number: 1
May 15, 2009 11:52:52 AM it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error type: 3

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@anonymised.comrge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
-------------------------------------------------------
Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it

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

Dear Robert,
I downloaded some of the data you mentioned and discovered the source
of the problem.
Looks like the erdas plugin which comes from gdal is recognizing the
aux files as valid as valid files while building the index.
I have added some specific exclusions so that they don't get indexed
anymore, therefore, either you try again to build the index but before
you remove them from the dir you are going to point at, or you can get
next nightly build from here:

http://gridlock.openplans.org/geoserver/1.7.x/.

Please, keep me posted.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Fri, May 15, 2009 at 6:48 PM, Robert Webb <rwebb@anonymised.com> wrote:

All images are the same as far as type. They are land images where in each
directory they line up next to each other from east to west. They should all
have the same characteristics for the most part.

I got them from here:
http://data.labins.org/2003/MappingData/DOQQ/doqq_04_utm_sid.cfm

________________________________

From: dany.geotools@anonymised.com [mailto:dany.geotools@anonymised.com] On Behalf Of
Daniele Romagnoli
Sent: Friday, May 15, 2009 12:22 PM
To: Robert Webb
Cc: Joshua M. Thompson; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Hi Robert,
can you give us some additional information about the images are you
mosaicking?
Do they share some similarities or are you trying to mosaic totally
different images? (as an instance: different types, different overviews
characteristics, totally different resolution,..)

Let us know.
Regards,
Daniele

On Fri, May 15, 2009 at 5:57 PM, Robert Webb <rwebb@anonymised.com> wrote:

-----Original Message-----
From: Joshua M. Thompson [mailto:joshua.thompson@anonymised.com]
Sent: Friday, May 15, 2009 10:51 AM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

On Fri, May 15, 2009 at 8:24 AM, Robert Webb <rwebb@anonymised.com> wrote:
> Ok, still not working. Tried the URL as "file:/opt/tomcat-
6.0/webapps/geoserver/data/data/jpeg2000/g05/" and "file:
data/data/jpeg2000/g05/".

Shouldn't that be
"file:///opt/tomcat-6.0/webapps/geoserver/data/data/jpeg2000/g05/"?
That's the technically correct format for a file: URL. and it's how I
set up the paths to a bunch of my coverage stores.

Tried your suggestion and I did get the coverage and coverage store setup.
However, when I click on the coverage from the demo I do not get anything
displayed. Just the bounding box and controls.

I do see seven new files created in the directory. All of them start with
g05-sids (which is the directory name) and have the extensions of dbf, fix,
prj, properties, qix, shp, shx.

I am seeing the following on the Catalina.out log:

May 15, 2009 11:52:52 AM
it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error: IReadBlock failed at X offset 6, Y offset 6
May 15, 2009 11:52:52 AM
it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error number: 1
May 15, 2009 11:52:52 AM
it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error type: 3

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
-------------------------------------------------------
Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it

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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Sorry, I thought I had hit reply to all...

Anyway, I just restarted tomcat and it seems to be working again. I will play around with it some more later. I might even rebuild everything from tomcat up and get a clean system and start over. So please work on the tutorial instead of my problem at the moment. Will probably be tomorrow at this point before I can get back on it again.
________________________________________
From: simboss1@anonymised.com [simboss1@anonymised.com] On Behalf Of Simone Giannecchini [simone.giannecchini@anonymised.com]
Sent: Monday, May 18, 2009 4:51 PM
To: Robert Webb
Subject: Re: [Geoserver-users] [OT] New user needs general help

Ciao Robert,
please don't fall outside the public mailing list, people may find
solutions to their problems by using the ml history.

Anyway, I am abit puzzled here, I thought you were using the sid
files! I will download a few of the JP2 files and play with them
myself. I warn you that IMHO JP2 support in gdal is far from perfect,
infact we are developing a plugin which directly uses the kakadu libs.
I'd suggest you to try with the sid files, but make sure to set the
suggested tile size to 512,512!
I am going to write up a small tutorial on how to use the mosaic
plugin tomorrow.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Mon, May 18, 2009 at 10:39 PM, Robert Webb <rwebb@anonymised.com> wrote:

Thanks for all your help. I completely removed everything from Tomcat in reference to geoserver. Downloaded the new war file and installed. Copied all my jp2 files, this time, over to the data directory, created a coverage store and then a coverage. Found out that I was not hitting the srs lookup at the right time nor doing the envelope creation correctly and finally got everything up and working.

Now, I deleted the test coverage and coveragestore and reorganized the rest of my jp2 raster data so that everything is in one directory and not the different g** directories. I now am going to create a new coverage store to reference all the jp2 files that are in the new directory. When I did, I came back to the invalid URL issue again. I don't know what is going on. Was accepting the directory structure before now it is erroring out again.

When I hit the submit button I get the "Invalid url: 'file:///opt/tomcat-6.0/webapps/geoserver/data/data/coverages/doqq/Florida/JPG2000' for format type:'ImageMosaic'." and only one file gets created in the directory. It is an error.txt file and contains:

<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
</log>

This system just does not like me....

________________________________________
From: simboss1@anonymised.com [simboss1@anonymised.com] On Behalf Of Simone Giannecchini [simone.giannecchini@anonymised.com]
Sent: Monday, May 18, 2009 1:40 PM
To: Robert Webb
Cc: Daniele Romagnoli; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Dear Robert,
I downloaded some of the data you mentioned and discovered the source
of the problem.
Looks like the erdas plugin which comes from gdal is recognizing the
aux files as valid as valid files while building the index.
I have added some specific exclusions so that they don't get indexed
anymore, therefore, either you try again to build the index but before
you remove them from the dir you are going to point at, or you can get
next nightly build from here:

http://gridlock.openplans.org/geoserver/1.7.x/.

Please, keep me posted.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Fri, May 15, 2009 at 6:48 PM, Robert Webb <rwebb@anonymised.com> wrote:

All images are the same as far as type. They are land images where in each
directory they line up next to each other from east to west. They should all
have the same characteristics for the most part.

I got them from here:
http://data.labins.org/2003/MappingData/DOQQ/doqq_04_utm_sid.cfm

________________________________

From: dany.geotools@anonymised.com [mailto:dany.geotools@anonymised.com] On Behalf Of
Daniele Romagnoli
Sent: Friday, May 15, 2009 12:22 PM
To: Robert Webb
Cc: Joshua M. Thompson; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Hi Robert,
can you give us some additional information about the images are you
mosaicking?
Do they share some similarities or are you trying to mosaic totally
different images? (as an instance: different types, different overviews
characteristics, totally different resolution,..)

Let us know.
Regards,
Daniele

On Fri, May 15, 2009 at 5:57 PM, Robert Webb <rwebb@anonymised.com> wrote:

-----Original Message-----
From: Joshua M. Thompson [mailto:joshua.thompson@anonymised.com]
Sent: Friday, May 15, 2009 10:51 AM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

On Fri, May 15, 2009 at 8:24 AM, Robert Webb <rwebb@anonymised.com> wrote:
> Ok, still not working. Tried the URL as "file:/opt/tomcat-
6.0/webapps/geoserver/data/data/jpeg2000/g05/" and "file:
data/data/jpeg2000/g05/".

Shouldn't that be
"file:///opt/tomcat-6.0/webapps/geoserver/data/data/jpeg2000/g05/"?
That's the technically correct format for a file: URL. and it's how I
set up the paths to a bunch of my coverage stores.

Tried your suggestion and I did get the coverage and coverage store setup.
However, when I click on the coverage from the demo I do not get anything
displayed. Just the bounding box and controls.

I do see seven new files created in the directory. All of them start with
g05-sids (which is the directory name) and have the extensions of dbf, fix,
prj, properties, qix, shp, shx.

I am seeing the following on the Catalina.out log:

May 15, 2009 11:52:52 AM
it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error: IReadBlock failed at X offset 6, Y offset 6
May 15, 2009 11:52:52 AM
it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error number: 1
May 15, 2009 11:52:52 AM
it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error type: 3

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
-------------------------------------------------------
Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it

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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Ciao Robert,
going to stop working for today in a few mins.
Just to confirm, are you plying with the MrSid files or with the JP2 files?

Anyway, using tomorrow's build should give you a better user
experience since I have done a few modifications.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Mon, May 18, 2009 at 10:51 PM, Robert Webb <rwebb@anonymised.com> wrote:

Sorry, I thought I had hit reply to all...

Anyway, I just restarted tomcat and it seems to be working again. I will play around with it some more later. I might even rebuild everything from tomcat up and get a clean system and start over. So please work on the tutorial instead of my problem at the moment. Will probably be tomorrow at this point before I can get back on it again.
________________________________________
From: simboss1@anonymised.com [simboss1@anonymised.com] On Behalf Of Simone Giannecchini [simone.giannecchini@anonymised.com]
Sent: Monday, May 18, 2009 4:51 PM
To: Robert Webb
Subject: Re: [Geoserver-users] [OT] New user needs general help

Ciao Robert,
please don't fall outside the public mailing list, people may find
solutions to their problems by using the ml history.

Anyway, I am abit puzzled here, I thought you were using the sid
files! I will download a few of the JP2 files and play with them
myself. I warn you that IMHO JP2 support in gdal is far from perfect,
infact we are developing a plugin which directly uses the kakadu libs.
I'd suggest you to try with the sid files, but make sure to set the
suggested tile size to 512,512!
I am going to write up a small tutorial on how to use the mosaic
plugin tomorrow.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Mon, May 18, 2009 at 10:39 PM, Robert Webb <rwebb@anonymised.com> wrote:

Thanks for all your help. I completely removed everything from Tomcat in reference to geoserver. Downloaded the new war file and installed. Copied all my jp2 files, this time, over to the data directory, created a coverage store and then a coverage. Found out that I was not hitting the srs lookup at the right time nor doing the envelope creation correctly and finally got everything up and working.

Now, I deleted the test coverage and coveragestore and reorganized the rest of my jp2 raster data so that everything is in one directory and not the different g** directories. I now am going to create a new coverage store to reference all the jp2 files that are in the new directory. When I did, I came back to the invalid URL issue again. I don't know what is going on. Was accepting the directory structure before now it is erroring out again.

When I hit the submit button I get the "Invalid url: 'file:///opt/tomcat-6.0/webapps/geoserver/data/data/coverages/doqq/Florida/JPG2000' for format type:'ImageMosaic'." and only one file gets created in the directory. It is an error.txt file and contains:

<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
</log>

This system just does not like me....

________________________________________
From: simboss1@anonymised.com [simboss1@anonymised.com] On Behalf Of Simone Giannecchini [simone.giannecchini@anonymised.com]
Sent: Monday, May 18, 2009 1:40 PM
To: Robert Webb
Cc: Daniele Romagnoli; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Dear Robert,
I downloaded some of the data you mentioned and discovered the source
of the problem.
Looks like the erdas plugin which comes from gdal is recognizing the
aux files as valid as valid files while building the index.
I have added some specific exclusions so that they don't get indexed
anymore, therefore, either you try again to build the index but before
you remove them from the dir you are going to point at, or you can get
next nightly build from here:

http://gridlock.openplans.org/geoserver/1.7.x/.

Please, keep me posted.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Fri, May 15, 2009 at 6:48 PM, Robert Webb <rwebb@anonymised.com> wrote:

All images are the same as far as type. They are land images where in each
directory they line up next to each other from east to west. They should all
have the same characteristics for the most part.

I got them from here:
http://data.labins.org/2003/MappingData/DOQQ/doqq_04_utm_sid.cfm

________________________________

From: dany.geotools@anonymised.com [mailto:dany.geotools@anonymised.com] On Behalf Of
Daniele Romagnoli
Sent: Friday, May 15, 2009 12:22 PM
To: Robert Webb
Cc: Joshua M. Thompson; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

Hi Robert,
can you give us some additional information about the images are you
mosaicking?
Do they share some similarities or are you trying to mosaic totally
different images? (as an instance: different types, different overviews
characteristics, totally different resolution,..)

Let us know.
Regards,
Daniele

On Fri, May 15, 2009 at 5:57 PM, Robert Webb <rwebb@anonymised.com> wrote:

-----Original Message-----
From: Joshua M. Thompson [mailto:joshua.thompson@anonymised.com]
Sent: Friday, May 15, 2009 10:51 AM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [OT] New user needs general help

On Fri, May 15, 2009 at 8:24 AM, Robert Webb <rwebb@anonymised.com> wrote:
> Ok, still not working. Tried the URL as "file:/opt/tomcat-
6.0/webapps/geoserver/data/data/jpeg2000/g05/" and "file:
data/data/jpeg2000/g05/".

Shouldn't that be
"file:///opt/tomcat-6.0/webapps/geoserver/data/data/jpeg2000/g05/"?
That's the technically correct format for a file: URL. and it's how I
set up the paths to a bunch of my coverage stores.

Tried your suggestion and I did get the coverage and coverage store setup.
However, when I click on the coverage from the demo I do not get anything
displayed. Just the bounding box and controls.

I do see seven new files created in the directory. All of them start with
g05-sids (which is the directory name) and have the extensions of dbf, fix,
prj, properties, qix, shp, shx.

I am seeing the following on the Catalina.out log:

May 15, 2009 11:52:52 AM
it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error: IReadBlock failed at X offset 6, Y offset 6
May 15, 2009 11:52:52 AM
it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error number: 1
May 15, 2009 11:52:52 AM
it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
INFO: Last error type: 3

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
-------------------------------------------------------
Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it

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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users