You are genius! The second way is working for me, thank you very much!
 
For people with the same problem:
 
I created a datastore.properties like in the guide http://docs.geoserver.org/latest/en/user/data/raster/imagemosaic/configuration.html#datastore-properties for existing DB PostgreSQL with PostGIS. The encoding of this DB is UTF-8. Geoserver created special table for my rasters during imagemosaic creating by this datastore.properties configuration. And now indexes are with right rasters names and everything is working.
 
20.08.2018, 15:12, "Andrea Aime" <andrea.a...@geo-solutions.it>:
On Mon, Aug 20, 2018 at 1:03 PM Наталья Волгушева <natalya.volgush...@yandex.ru> wrote:
Hi everyone.
 
I try to create an ImageMosaic in geoserver 2.13.2 with several rasters which have cyrillic characters in their names.The image mosaic was created but my geotiffs are all white. I found out that their names are with '?' instead of cyrrilic symbols in attributes of the created index-shapefile.
I attempted to rename them in these attributes with right characters and to change encoding of .shp but it didn't help. Perhaps geoserver doesn't take .cpg file and try to open this .shp with default encoding.
 
GeoServer only recognizes the files part of the base specification plus a few extensions (prj, qix , cpg is not one of them).
The shapefile reader is however open source, if you're interested, you can donate code to support the cpg file, or look
into commercial support to have some developer do it for you, see:
http://geoserver.org/support/
 
Is there some way for example to change default encoding of geoserver or of generated shapefile? Or some other solutions?
 
The automatically generated shapefile does not support, as far as I know, charset configuration.
However, you can make the mosaic point to whatever datastore you want adding a datastore.properties file, check 
the documentation here:
 
http://docs.geoserver.org/latest/en/user/data/raster/imagemosaic/configuration.html#datastore-properties
 
and also see examples here:
 
https://geoserver.geo-solutions.it/edu/en/multidim/imagemosaic/mosaic_datastore.html
 
Cheers
Andrea
 
==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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