Hi all, I just wanted to give an update on this issue that I had. It seems the curl command doesn’t create the extra folder after unzipping the file, but python does that. Has anyone had this issue before? I am using request library. At the moment I am just updating the path in the coveragestore as I mentioned in my first email.
Kind regards, Corina > On 23 Nov 2022, at 13:39, Corina Tudorache <corina...@yahoo.com> wrote: > > Hi all, > > Recently I have tried to create imagemosaic using the REST API and I found a > possible bug when creating an empty imagemosaic without configure it, > following the steps shown here: > https://docs.geoserver.org/latest/en/user/community/cog/mosaic.html > > The path to the configuration files shown in the > geoserver/geoserver_data/workspaces/custom_data/new_data/coveragestore.xml > looks like this <url>file:data/custom_data/new_data</url> , but when > unzipping the folder that contains the configuration files, another folder is > created, and so the path in the coveragestore.xml should look instead like > this: <url>file:data/custom_data/new_data/new_data</url> > For reference, I am using GeoServer 2.22-RC > > For now I am editing the coveragestore.xml to change the path, but would be > good if in feature I wouldn’t have to do this. :) > > When using the GUI, because I pass the path to a folder, this > <url>file:data/custom_data/new_data</url> is actually correct. > > Cheers, > Corina
_______________________________________________ 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