[Geoserver-users] EPSG:23032 in MosaicIndexBuilder

Folks,

I'm running MosaicIndexBuilder on a bunch of GeoTIFF with EPSG:23032, but I end up with a prj file of EPSG:4326: is this a an issue with MosaicIndexBuilder or I am doing something wrong ?

Regards,

P.S.
This time I checked the GeoTIFFs with gdalinfo, and, yes, they're in EPSG:23032.

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

Simone Giannecchini wrote:

Ciao Luca,

please send 2 samples over here, so that I will be able (tomorrow, not
today or my girlfriend will kill me :slight_smile: ) to check what's wrong.

Yeah, I know how some women still think it's more entertaining to go out dining than debugging :frowning:

Anyway, here's the tarball (just two small images): http://www.lucamorandini.it/iim.tar.gz

Anyway, can you tell me a bit more about what is happening? Did you
check to have complete geotiff files not with separate projections?

Well, I run the same command for them all (gdal_translate), and gdalinfo gives me the correct EPSG for them all.

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

Luca Morandini wrote:

I've tried to make the images as EPSG:32632 (WGS84 instead of ED50), but I end up with:

Oct 1, 2006 4:48:26 PM it.geosolutions.utils.imagemosaic.MosaicIndexBuilder getNotification
INFO: Progress is at 25.925925925925927
attached message is: Now indexing file 023.tiff
Oct 1, 2006 4:48:31 PM it.geosolutions.utils.imagemosaic.MosaicIndexBuilder run
WARNING: Skipping image /usr/local/apps/jettydev/webapps/geoserver/data/coverages/iim/023.tiff because resolutions does not match.
Oct 1, 2006 4:48:31 PM it.geosolutions.utils.imagemosaic.MosaicIndexBuilder getNotification
INFO: Progress is at 27.5
attached message is: Done with file /usr/local/apps/jettydev/webapps/geoserver/data/coverages/iim/023.tiff

...whenever I try to run MosaicIndexBuilder.

Regards,

P.S.
Come to think of it, these images overlap: could this be a problem for the mosaic plugin ?

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

Hi Luca:

The console output you posted indicates that the images do not have a
common cell size. That is a requirement for the ImageMosaic plugin.

Having overlapping images is not a problem.

Alex

On 10/1/06, Luca Morandini <lmorandini@anonymised.com> wrote:

Luca Morandini wrote:

I've tried to make the images as EPSG:32632 (WGS84 instead of ED50), but
I end up with:

Oct 1, 2006 4:48:26 PM
it.geosolutions.utils.imagemosaic.MosaicIndexBuilder getNotification
INFO: Progress is at 25.925925925925927
attached message is: Now indexing file 023.tiff
Oct 1, 2006 4:48:31 PM
it.geosolutions.utils.imagemosaic.MosaicIndexBuilder run
WARNING: Skipping image
/usr/local/apps/jettydev/webapps/geoserver/data/coverages/iim/023.tiff
because resolutions does not match.
Oct 1, 2006 4:48:31 PM
it.geosolutions.utils.imagemosaic.MosaicIndexBuilder getNotification
INFO: Progress is at 27.5
attached message is: Done with file
/usr/local/apps/jettydev/webapps/geoserver/data/coverages/iim/023.tiff

...whenever I try to run MosaicIndexBuilder.

Regards,

P.S.
Come to think of it, these images overlap: could this be a problem for
the mosaic plugin ?

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Alexander Petkov wrote:

The console output you posted indicates that the images do not have a
common cell size. That is a requirement for the ImageMosaic plugin.

Which is strange, since they're all processed by the same script... some source images might have different cell size, though... hmmm... how do I set the same cell size for every GeoTIFF I have ?

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

On 10/1/06, Luca Morandini <luca.morandini1@anonymised.com> wrote:

Alexander Petkov wrote:
>
> The console output you posted indicates that the images do not have a
> common cell size. That is a requirement for the ImageMosaic plugin.

Which is strange, since they're all processed by the same script... some
source images might have different cell size, though... hmmm... how do I
set the same cell size for every GeoTIFF I have ?

Good question... See if gdal_translate can do something about it,
looks like the "outsize" argument should work:

http://gdal.maptools.org/gdal_translate.html

We will appreciate if your post your findings, I am sure your
knowledge will prove useful for others too.

Alex

Alexander Petkov wrote:

On 10/1/06, Luca Morandini <luca.morandini1@anonymised.com> wrote:

Alexander Petkov wrote:
how do I
set the same cell size for every GeoTIFF I have ?

Good question... See if gdal_translate can do something about it,
looks like the "outsize" argument should work:

http://gdal.maptools.org/gdal_translate.html

Come to think of , it pixel size is a function of the georeferencing process, which is never a precise one. Hence, I suppose a post-processing is in order to have the same pixel size for every image.

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------

Hi,

"Outsize" with gdal_translate does not do what you want. You should use gdalwarp instead http://gdal.maptools.org/gdalwarp.html
Target resolution argument (-tr) does the trick.

Regards,

-Jukka Rahkonen-

________________________________

Lähettäjä: geoserver-users-bounces@lists.sourceforge.net puolesta: Alexander Petkov
Lähetetty: ma 2.10.2006 1:37
Vastaanottaja: lmorandini@anonymised.com
Kopio: Geoserver-Users
Aihe: Re: [Geoserver-users] EPSG:23032 in MosaicIndexBuilder

On 10/1/06, Luca Morandini <luca.morandini1@anonymised.com> wrote:

Alexander Petkov wrote:
>
> The console output you posted indicates that the images do not have a
> common cell size. That is a requirement for the ImageMosaic plugin.

Which is strange, since they're all processed by the same script... some
source images might have different cell size, though... hmmm... how do I
set the same cell size for every GeoTIFF I have ?

Good question... See if gdal_translate can do something about it,
looks like the "outsize" argument should work:

http://gdal.maptools.org/gdal_translate.html

We will appreciate if your post your findings, I am sure your
knowledge will prove useful for others too.

Alex

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Thanks for the correction, I hadn't tried it myself.

Alex

On 10/5/06, Rahkonen Jukka <Jukka.Rahkonen@anonymised.com> wrote:

Hi,

"Outsize" with gdal_translate does not do what you want. You should use gdalwarp instead http://gdal.maptools.org/gdalwarp.html
Target resolution argument (-tr) does the trick.

Regards,

-Jukka Rahkonen-

Rahkonen Jukka wrote:

"Outsize" with gdal_translate does not do what you want. You should use gdalwarp instead http://gdal.maptools.org/gdalwarp.html
Target resolution argument (-tr) does the trick.

Thanks a lot: armed with information I finally made an image mosaic out of two images scanned at different resolution.

However, I was not able to see them using WMS or uDIG (white image).

Could someone be so kind as to try this image mosaic on his GeoServer ?
It could be downloaded from: http://82.91.119.42/iim2.zip (it's about 4MB).

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------