Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Use of Landsat 8 imagery with GeoMesa

Hi Miguel,

Thanks for the question.  In order to help, I've got two quick questions:

First, would you be willing to send along your geoserver.log or the log from your J2EE container running GeoServer?  It should have more of the stack trace you are seeing, and with that stack trace, we'll be able to understand what's going on a little better.

Second, is there a public link to the Landsat 8 Imagery you are using?  If there, I'll try and find some time to reproduce the error locally. 

And you are right, we don't have support for multiband rasters sorted at the minute.

Thanks,

Jim

On 10/29/2015 11:16 AM, Miguel Ángel Esbrí wrote:
Hi,

As part of our agriculture-based project we need to store and process Landsat 8 imagery for large areas in various countries in Europe.

We are interested in using GeoMesa as solution since it seems to provide many of the features we need to store, visualize and process (using the additional Geoserver plugins) the large amount raster images  we have to consider in the project .

I managed to set up a working environment (Apache Accumulo + Geomesa + Geoserver) and followed the raster ingestion example as indicated here: http://www.geomesa.org/geomesa-raster/

The natural earth example can be visualized without problem, however when it comes to visualizing the ingested Landsat 8 image via a WMS request I am getting the following:



Error:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://5.79.69.49:28080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" >   <ServiceException>
      Error rendering coverage on the fast path
org.locationtech.geomesa.shade.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: duplicate key: 0.002526
java.lang.IllegalArgumentException: duplicate key: 0.002526
duplicate key: 0.002526
</ServiceException></ServiceExceptionReport>

Somethings regarding the steps I followed for ingesting the Landsat rasters:

- We need to store the 11 (B1 to B11) bands that compose a Landsat 8 scene, therefore we created one layer per band (AFAIK multiband rasters are not supported yet by Geomesa)

- The Landsat 8 scene is reprojected to EPSG:4326 (from EPSG:32630): gdalwarp -t_srs EPSG:4326 LC82020322015275LGN00_B3.TIF LC82020322015275LGN00_B3_4326.TIF

- Image pyramid creation: gdal_retile.py -v -pyramidOnly -r lanczos -levels 4 -ps 675 675 -targetDir ./ LC82020322015275LGN00_B3_4326.TIF

- Rasters ingestion: geomesa ingestraster -u geomesa -p geomesa -t LANDSAT8_B3 -f "./1/" -fmt geotiff 

Same procedure for pyramid levels 2, 3 and 4

Do you have any idea about what may be causing the duplicate key problem? 

I am attaching also the output from gdalinfo command applied to the LC82020322015275LGN00_B3.TIF  image in case the info might be of help.

Best regards


Miguel A. Esbrí


_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://www.locationtech.org/mailman/listinfo/geomesa-users


Back to the top