Le 31/10/2018 à 14:03, Andrea Aime a écrit :
No, you are still supposed to let the mosaic configure itself. Never, ever, generate the mosaic property file manually, setup a indexer and a datastore config files
and let the mosaic do its work, regardless of where the index is stored.

OK Andrea, thanks for making this clear.
I did as suggested :
- copied only the datastore.properties in a folder
- added an indexer.properties in the same folder, basic configuration taken from https://geoserver.geo-solutions.it/edu/en/multidim/imagemosaic/mosaic_indexer.html, i.e.:
Name=georasters_17
Schema=*the_geom:Polygon,location:String
PropertyCollectors=
Caching=false
AbsolutePath=true
CanBeEmpty=true
UseExistingSchema=true
- created a new imagemosaic datastore pointing to this folder

Everything went fine, mosaic "georasters_17.properties" and "sample_image.dat" created successfully. Now, comparing this properties file with the one I created manually, there is one major difference (and some minor ones like expandToRGB), Levels!
In the automatically created file :
Levels=2.54,2.54
In my file, where I computed the levels myself :
Levels=0.15875,0.15875

The "correct" one, i.e. the one that renders correctly is mine.
Gdalinfo on the underlying GeoTIFFs gives the correct pixelsize, i.e :
Pixel Size = (0.158750000000000,-0.158750000000000)

Why would the imagemosaic plugin guess that levels are 2.54 ? Is there something wrong in the way I configured the imagemosaic ?



Best regards
--
Arnaud




_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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

Reply via email to