Hi Christos, short version of the answer to your email, convert the files to geotiff and optimize them.
Longer version of the answer to your email, convert the files to geotiff and optimize them :) You will find plenty of information on the web but I would check our presentation "GeoServer on steroids" and our GeoServer training where you will find information about the "why" as well as about the "how". Hope this helps. Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://bit.ly/gs-services for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions Italy President GeoSolutions USA phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geosolutionsgroup.com http://twitter.com/geosolutions_it ------------------------------------------------------- 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. On Mon, Sep 27, 2021 at 9:53 AM Christos Charmatzis < xr_xarmat...@outlook.com> wrote: > Hello Geoserver-User Community, > > > > I want a little bit help with creating an ImageMosaic from WorldImage > files. > > > > My input is: > - a lot of PNG images in different UTM projections. > - the .wld files for each png (as described here World file - Wikipedia > <https://en.wikipedia.org/wiki/World_file>) > - the .prj file that the current PNG. > > > > With these files I want to create a new ImageMosaic layer as the > documentation mentions here that it is supported. > > “The plugin can be used with GeoTIFFs, as well as rasters accompanied by a > world file (.wld, .pgw for PNG files, .jgw for JPG files, etc.)” > > > > ImageMosaic — GeoServer 2.19.x User Manual > <https://docs.geoserver.org/maintain/en/user/data/raster/imagemosaic/> > > > > My mosaic .properties file is that > > MosaicCRS=EPSG\:4326 > > Levels=0.057934032977228433,0.04039598061277999 > > Heterogeneous=false > > Name=png_imagemosaic > > HeterogeneousCRS=true > > TypeName=png_imagemosiac > > Caching=false > > ExpandToRGB=false > > LocationAttribute=location > > PathType=ABSOLUTE > > SuggestedSPI=com.sun.imageio.plugins.png.PNGImageReaderSpi > > CheckAuxiliaryMetadata=false > > LevelsNum=1 > > SuggestedFormat=org.geotools.gce.imagemosaic.remote.RemoteImageFormat > > > SuggestedIsSPI=org.geotools.gce.imagemosaic.remote.RemoteImageInputStreamSPI > > > Which is quite the same properties file as I found here: > > geotools/remote_test.properties at > 06d379a2fdbfdbf94641c16813c37ef02aa7f63c · geotools/geotools (github.com) > <https://github.com/geotools/geotools/blob/06d379a2fdbfdbf94641c16813c37ef02aa7f63c/modules/plugin/imagemosaic/src/test/resources/org/geotools/gce/imagemosaic/test-data/remote_test/remote_test.properties> > which it the config file for publishing Png files > > > > As datastore I use a postgres table. > > > > > > By the way I tried to publish the same png files as an WorldImage layer > and it works. The only catch was that it needed in the same path the *.prj > file and the worldfile to be *.wld and not *.pnw. > > Does anyone had the same issue and resolved it somehow? > The documentation also isn’t very clear on how we can use other formats > than Geotiff files. > > > > PS. I already had created successfully imageMosaic layers using the > Geotiffs and it works > > > > Thanks in advance, > > Christos > > > > > > Christos Charmatzis > > Tel. 0030 6945759344 > > Email: xr_xarmat...@outlook.com > > > _______________________________________________ > 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 >
_______________________________________________ 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