[GeoNode-devel] Programmatically create layers and maps from own Django App

Paolo Corti pcorti at gmail.com
Mon Sep 9 08:38:16 PDT 2019


Hello Carsten
if you can run your script on the server, why not using importlayers
GeoNode command?
Or you can use that approach for your script
hope this helps
Paolo

On Mon, Sep 9, 2019 at 6:14 AM EFTAS Carsten Stemmler
<carsten.stemmler at eftas.com> wrote:
>
> Dear all,
>
> I created a new Django App by using geonode-project (Geonode version 2.10) to do some geospatial processing.
> As a result of this process I want to create a new layer (and furthermore a map) within Geonode without user interaction.
>
> I already had a look at the documentation, however I'm not sure about the right way to accomplish this task. Can I use internal functions e.g. from geonode.layers.models or is it necessary to use the Geoserver Rest API to import the data there directly (or another way I am not aware of at the moment)?
>
> Any hints and also specific links to the documentation are appreciated.
> Carsten
>
> --
> Carsten Stemmler
> - Research & Development
>
> E F T A S    Fernerkundung
> Technologietransfer GmbH
> Oststraße 2-18
> 48145 Münster
> Fon: +49 251 13307-0      E-Mail: carsten.stemmler at eftas.com
> Fax: +49 251 13307-33     Web:   http://www.eftas.com
> Geschäftsführer:
> Dipl.-Ing. Georg Altrogge
>
> Sitz der Gesellschaft: Münster
> Amtsgericht Münster, HRB 2999
> USt.-IdNr. DE 126038986
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel



-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
#drt3jc1


More information about the geonode-devel mailing list