-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create coverage store for local files #68
Comments
To add imagemosaic, you first have to import the folder to Geoserver, then you can make API call to create imagemosaic datastore. I used |
Thanks for the response, you are right that this is probably not a recommended way to do what is needed. I am actually trying to port my project to geoserver-rest from gsconfig because that one seems to be no longer supported. Just for your information, it seems a functional implementation can be found in https://github.com/geosolutions-it/gsconfig/blob/8466dbb0f4507c1e21066322c2f3a0e95c0a92fa/src/geoserver/catalog.py#L540. This caters for whether upload(import) is being used and matches more closely with what can be done via geoserver web interface. |
Cool! Wondering if it works for mosaic as well. If it does, it'll be cool. |
Is image mosaic creation for a remote directory of tiff files supported yet? |
@lstillwe Sorry, I don't have the code for it now. What I can tell you is that this approach was very difficult for me to get working and is not recommended. You can use the COG community plugin, or the image mosaic jdbc plugin. I was working on it long time back and have already started using COG plugin. |
@theoway @evansohgit Does anyone have just a curl example for creating and image mosaic when the tiffs are already local to the Geoserver file system? I have spent several days trying to get at least that scenario working. Thanks! |
Currently, create_coveragestore only works with data upload via put. It should also be possible to use local file as per geoserver UI using "file://path/to/file". I think this would also enable functionality for imagemosaic.
The text was updated successfully, but these errors were encountered: