[Geoserver-users] SOLVED: ImageMosaic sometimes not showing tiles

Since the issue has been noted by a couple of users, I think it could be useful to list a possible explanation for said behavior.

When the prj file of the image mosaic definition is not aligned with the GeoServer EPSG database, the continuous datum conversions cause the ImageMosaic plugin to be unable to ouput an image every dozen or so.

In my case, the prj was:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.2572235630016,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433],
    AUTHORITY["EPSG","4326"]]

While the one in the EPSG database was:
GEOGCS["WGS 84",
  DATUM["World Geodetic System 1984",
    SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
    AUTHORITY["EPSG","6326"]],
  PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
  UNIT["degree", 0.017453292519943295],
  AXIS["Geodetic longitude", EAST],
  AXIS["Geodetic latitude", NORTH],
  AUTHORITY["EPSG","4326"]]

When I changed the former to be exactly as the latter, every tile displayed just fine :slight_smile:

Thanks to Simone Giannecchini e Daniele Romagnoli for pointing this out.

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

Hi Luca,

Thanks for sharing your findings, very useful information as this issue has come up and is a tough one to solve. Any chance you can update the FAQ?

-Justin

Luca Morandini wrote:

Since the issue has been noted by a couple of users, I think it could be useful to list a possible explanation for said behavior.

When the prj file of the image mosaic definition is not aligned with the GeoServer EPSG database, the continuous datum conversions cause the ImageMosaic plugin to be unable to ouput an image every dozen or so.

In my case, the prj was:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.2572235630016,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433],
    AUTHORITY["EPSG","4326"]]

While the one in the EPSG database was:
GEOGCS["WGS 84",
  DATUM["World Geodetic System 1984",
    SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
    AUTHORITY["EPSG","6326"]],
  PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
  UNIT["degree", 0.017453292519943295],
  AXIS["Geodetic longitude", EAST],
  AXIS["Geodetic latitude", NORTH],
  AUTHORITY["EPSG","4326"]]

When I changed the former to be exactly as the latter, every tile displayed just fine :slight_smile:

Thanks to Simone Giannecchini e Daniele Romagnoli for pointing this out.

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,47d59900237091336712104!

Justin Deoliveira wrote:

Hi Luca,

Thanks for sharing your findings, very useful information as this issue has come up and is a tough one to solve. Any chance you can update the FAQ?

Done.

By the way, I had to register myself again to Confluence, I suppose this is due to the change of system.

Regards,

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