[Geoserver-users] upload image mosaic

Dear Geoserver,

I’m trying to upload a tif file as a Mosaic image.
When I try to upload the file the following error get listed:

“Could not list layers for this store, an error occurred retrieving them: Argument “value” should not be null”.

Further the command Browse doesn’t appear so I have to type the directory.

any suggestion?

regards,

Marco

Hi Marco,
A couple of question so we can better understand the issue:

  • which version of geoserver are you using?

  • can you run a gdalinfo on your tif file?

Please, let us know.
Best Regards,
Daniele

···

==
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


On Mon, Mar 10, 2014 at 11:12 AM, marco casella <mcasella03@anonymised.com> wrote:

Dear Geoserver,

I’m trying to upload a tif file as a Mosaic image.
When I try to upload the file the following error get listed:

“Could not list layers for this store, an error occurred retrieving them: Argument “value” should not be null”.

Further the command Browse doesn’t appear so I have to type the directory.

any suggestion?

regards,

Marco


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech


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

Marco,

···

I’m trying to upload a tif file as a Mosaic image.

As far as I know the mosaic can be sent via the rest interface as zip file.
If you are using the GUI you have to select a folder which should be reachable by the geoserver (no file will be uploaded to the geoserver datadir).

When I try to upload the file the following error get listed:

“Could not list layers for this store, an error occurred retrieving them: Argument “value” should not be null”.

Further the command Browse doesn’t appear so I have to type the directory.

I suggest to start passing the directory which contains the geotiff (it it is local to geoserver) and check the result.
If you are still getting the above error, please try adding some more info to the mail, such as:

  1. logs
  2. gdalinfo on the image
  3. other details on steps to reproduce

Cheers,
Carlo

any suggestion?

regards,

Marco


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech


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

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

Dott. Carlo Cancellieri
@cancellieric
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


I have often seen this if GeoServer does not have write permissions on the folder the file is on.

So if you created the folder under the GeoServer data dir as root (Under Linux) and the sever is running under Tomcat it may not be able to write to the directory.

Russ

···

I’m trying to upload a tif file as a Mosaic image.

As far as I know the mosaic can be sent via the rest interface as zip file.
If you are using the GUI you have to select a folder which should be reachable by the geoserver (no file will be uploaded to the geoserver datadir).

When I try to upload the file the following error get listed:

“Could not list layers for this store, an error occurred retrieving them: Argument “value” should not be null”.

Further the command Browse doesn’t appear so I have to type the directory.

I suggest to start passing the directory which contains the geotiff (it it is local to geoserver) and check the result.
If you are still getting the above error, please try adding some more info to the mail, such as:

  1. logs
  2. gdalinfo on the image
  3. other details on steps to reproduce

Cheers,
Carlo

any suggestion?

regards,

Marco


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech


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

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

Dott. Carlo Cancellieri
@cancellieric
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