[GeoNode-users] CREATE layers via API

Alessio Fabiani alessio.fabiani at geo-solutions.it
Fri Apr 16 01:42:04 PDT 2021

Hi Piero,
if you have GeoNode updated to the latest APIs (3.2.x branch) and
"geoserver.importer" as the default uploader method, you can use the rest
APIs to upload a file like shown in those test cases


You can eventually read/write the permissions later on via the APIs as
shown here



Il giorno ven 16 apr 2021 alle ore 10:31 Piero Campalani <
piero.campa at gmail.com> ha scritto:

> Hi list,
> I would like to automatize the population of a GeoNode repo.
> Looking at the docs [1], it *looks like* the exposed REST API does not
> support the creation of a layer from existing file.
> For instance, can I HTTP-POST with a shapefile as an attachment?
> (How should I provide authentication btw?)
> Thanks
> -Piero
> [1] https://docs.geonode.org/en/master/api/V2/index.html
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users



GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
Ing. Alessio Fabiani

Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20210416/3e87f606/attachment.html>

More information about the geonode-users mailing list