[OSGeo Africa] Publishing images in folder dynamically to GeoServer

Zibusiso Ncube ncubezedm at gmail.com
Wed Feb 26 22:46:19 PST 2020


Thank Admire.

its much appreciated, I will go through those links. I had gone over
something similar and I saw there is a tonne of info about mosaicing than
what i want to do, do you think it can be configured to do what I intend
doing? Anyways let me look into it further and if i find something i will
let you know. Thanks once again.

Regards

Zibusiso M Ncube



On Wed, Feb 26, 2020 at 6:45 PM admire <addloe at gmail.com> wrote:

> Hi Zibusiso
> On 2020/02/26 13:30, Zibusiso Ncube wrote:
>
> Good Day All,
>
> I am *new* to geoserver, i want to find out is there a way of of
> dynamically publishing images that are added to a folder. I have a process
> that generates images and writes them to a directory on my machine. I want
> to be able to publish this new image everytime it is generated.
>
> You will need a monitoring tool on your machine that listens to file
> changes i.e https://pypi.org/project/watchdog/
>
> Once you have that in place you can use GeoServer rest API to publish the
> images to Geoserver (https://docs.geoserver.org/stable/en/user/rest/)
>
> Regards
>
> Admire
>
>
>
> *[context]*
> I have test situation with GeoServer on Tomcat (local machine obviously
> right now still testing) and PostGIS on locally running PostgreSQL database
> (this is primarily for all my vector data) and folder that stores images
> that are generated from a python script.I want to be able to publish the
> images generated by the script automatically without having to sit down
> every-time and physically publish them.(they are all the same in term of
> spatial attributes i.e. area of coverage, resolution, projections etc etc).
> These will be consumed by web application dev'ed using geoext and
> openlayers ( i am new to all this).
>
> PS - examples (especially online) of some automation via code or similar
> would be much appreciated - very comfortable with python and intermediate
> with JS. Been search for a long time now i am not making headway🤦🏾‍♂️.
>
> Regards
>
> Zibusiso M Ncube
>
>
> _______________________________________________
> Africa mailing listAfrica at lists.osgeo.org
> You can UNSUBSCRIBE at https://lists.osgeo.org/mailman/listinfo/africa
>
> _______________________________________________
> Africa mailing list
> Africa at lists.osgeo.org
> You can UNSUBSCRIBE at https://lists.osgeo.org/mailman/listinfo/africa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/africa/attachments/20200227/d1cc1498/attachment.html>


More information about the Africa mailing list