[GeoNode-users] Geonode 2.10RC4 Layer Upload Method

aditya fikri ghozali adityafikrighozali at gmail.com
Wed Nov 21 20:37:00 PST 2018


Thank you Paulo,
I've already changing DATABASE and OGC_SERVER on local_settings.py
accordingly.
Then I also change the DATABASE in settings.py, it still not working
But i lately find out there is also OGC_SERVER on settings.py and i must
change that. And then it works.

It seems like in 2.10RC4 version local_settings.py somehow will not
override settings.py.
Is this an Issue? or it's because different version of django?

Best Regards,

*Aditya Fikri Ghozali*
Bachelor of Geodesy and Geomatics Engineering
e-mail: adityafikrighozali at gmail.com
 | www.adityafikrighozali.com <http://www.adityafikrighozali.com>
        <https://www.facebook.com/welcomemybest>
<https://www.linkedin.com/in/fikriaditya/>
<https://www.youtube.com/user/adityafikri/>
<https://medium.com/@adityafikrighozali>




On Wed, Nov 21, 2018 at 11:33 PM Paolo Corti <pcorti at gmail.com> wrote:

> Hello
>
> this is how to set GeoNode 2.10rc to use PostGIS: you need to change
> DATABASES at the start of your project settings file:
>
> DATABASES = {
>     'default': {
>          'ENGINE': 'django.contrib.gis.db.backends.postgis',
>          'NAME': 'geonode',
>          'USER': 'geonode',
>          'PASSWORD': '***',
>          'HOST' : 'localhost',
>          'PORT' : '5432',
>          'CONN_TOUT': 900,
>      },
>     # vector datastore for uploads
>     'data' : {
>         'ENGINE': 'django.contrib.gis.db.backends.postgis',
>         'NAME': 'data',
>         'USER' : 'geonode',
>         'PASSWORD' : '***',
>         'HOST' : 'localhost',
>         'PORT' : '5432',
>         'CONN_TOUT': 900,
>     }
> }
>
> 'default' is the database containing the GeoNode Django tables. 'data' is
> the PostGIS database containing the vector data.
>
> You also need to override OGC_SERVER in your settings file, and set
> 'DATASTORE' to the name of the database containing the data ('data' in the
> above case).
>
> Hope this helps
> best
> Paolo
>
> On Wed, Nov 21, 2018 at 7:04 AM aditya fikri ghozali <
> adityafikrighozali at gmail.com> wrote:
>
>> Dear all,
>>
>> Sorry for promoting my question again, but i think is a different case
>> with Dejan. I am installing geonode on ubuntu 18.04. And I really need a
>> hints to this.
>>
>>
>> >>>> I have a problem with geonode uploads method on Geonode 2.10RC4. The
>> >>>> default layer upload was geonode directly sent the file to geoserver
>> as a
>> >>>> new vector layer datastore. I try to make the layer upload to store
>> it in
>> >>>> geonode_data database which is defined as a datastore in geoserver.
>> I've
>> >>>> done the following configuration but not working.
>> >>>>
>> >>>> - migrate the dtb to postgresql (succeeded, the default dtb are now
>> use
>> >>>> postgresql.)
>> >>>> - use either geoserver.sample or psql_test local_settings.
>> >>>> - use either geonode.rest or geonode.importer as UPLOADER BACKEND.
>> >>>>
>> >>>> any hints? or Is there any workaround to this?
>> >>>>
>> >>>> Thanks  in Advance
>>
>>
>> Best Regards,
>>
>> *Aditya Fikri Ghozali*
>> Bachelor of Geodesy and Geomatics Engineering
>> e-mail: adityafikrighozali at gmail.com
>>  | www.adityafikrighozali.com <http://www.adityafikrighozali.com>
>>           <https://www.facebook.com/welcomemybest>
>> <https://www.linkedin.com/in/fikriaditya/>
>> <https://www.youtube.com/user/adityafikri/>
>> <https://medium.com/@adityafikrighozali>
>>
>>
>>
>>
>> On Mon, Nov 19, 2018 at 6:00 PM <geonode-users-request at lists.osgeo.org>
>> wrote:
>>
>>> Send geonode-users mailing list submissions to
>>>         geonode-users at lists.osgeo.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>         https://lists.osgeo.org/mailman/listinfo/geonode-users
>>> or, via email, send a message with subject or body 'help' to
>>>         geonode-users-request at lists.osgeo.org
>>>
>>> You can reach the person managing the list at
>>>         geonode-users-owner at lists.osgeo.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of geonode-users digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>>    1. Re: geonode-users Digest, Vol 46, Issue 22 (francesco bartoli)
>>>    2. Re: geonode-users Digest, Vol 46, Issue 22 (Alessio Fabiani)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Mon, 19 Nov 2018 11:46:26 +0100
>>> From: francesco bartoli <xbartolone at gmail.com>
>>> To: Paulo Frias <pfrias82 at gmail.com>
>>> Cc: dejan.samardzic at cedis.me, geonode-users
>>>         <geonode-users at lists.osgeo.org>
>>> Subject: Re: [GeoNode-users] geonode-users Digest, Vol 46, Issue 22
>>> Message-ID:
>>>         <
>>> CAL6s8vD2YmXEkpBWT7189TmK7+ktORpGES2a8jTO73bKQmmaBg at mail.gmail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Hi all,
>>>
>>> I guess the issue is not strictly limited to the docker deployment. Can
>>> you
>>> try out with the development paver based setup and in case open an issue
>>> on
>>> github?
>>>
>>> Thanks,
>>> Francesco
>>>
>>> Il giorno lun 19 nov 2018 alle ore 11:33 Paulo Frias <pfrias82 at gmail.com
>>> >
>>> ha scritto:
>>>
>>> > I have the same issue.
>>> >
>>> > On Sat, 17 Nov 2018 at 20:41, Dejan Samardzic <
>>> dejan.samardzic at cedis.me>
>>> > wrote:
>>> >
>>> >> Dear Geonode community,
>>> >> I have also installed Geonode ver 2.10RC4 Master branch on docker.
>>> >> Upload of any files doesn't work at all.
>>> >> When I go to Data -> Upload Layers -> Choose Files.....nothing happen
>>> >> (I'm not able to choose file). Look for yourself.
>>> >> https://www.youtube.com/watch?v=XFxC5tyQiLo
>>> >> regards,
>>> >> Dejan Samardžić
>>> >>
>>> >> On 11/17/2018 9:00 PM, geonode-users-request at lists.osgeo.org wrote:
>>> >>
>>> >> Send geonode-users mailing list submissions to
>>> >>      geonode-users at lists.osgeo.org
>>> >>
>>> >> To subscribe or unsubscribe via the World Wide Web, visit
>>> >>      https://lists.osgeo.org/mailman/listinfo/geonode-users
>>> >> or, via email, send a message with subject or body 'help' to
>>> >>      geonode-users-request at lists.osgeo.org
>>> >>
>>> >> You can reach the person managing the list at
>>> >>      geonode-users-owner at lists.osgeo.org
>>> >>
>>> >> When replying, please edit your Subject line so it is more specific
>>> >> than "Re: Contents of geonode-users digest..."
>>> >>
>>> >>
>>> >> Today's Topics:
>>> >>
>>> >>    1. Geonode 2.10RC4 Layer Upload Method (aditya fikri ghozali)
>>> >>
>>> >>
>>> >> ----------------------------------------------------------------------
>>> >>
>>> >> Message: 1
>>> >> Date: Sat, 17 Nov 2018 16:15:16 +0700
>>> >> From: aditya fikri ghozali <adityafikrighozali at gmail.com> <
>>> adityafikrighozali at gmail.com>
>>> >> To: geonode-users at lists.osgeo.org
>>> >> Subject: [GeoNode-users] Geonode 2.10RC4 Layer Upload Method
>>> >> Message-ID:
>>> >>      <CABSG5bZCXna+eRUu=
>>> Y+aOVUkqLmofhDR0d0aLKVkdom4Z3DdMg at mail.gmail.com> <CABSG5bZCXna+eRUu=
>>> Y+aOVUkqLmofhDR0d0aLKVkdom4Z3DdMg at mail.gmail.com>
>>> >> Content-Type: text/plain; charset="utf-8"
>>> >>
>>> >> Dear all,
>>> >> I have a problem with geonode uploads method on Geonode 2.10RC4. The
>>> >> default layer upload was geonode directly sent the file to geoserver
>>> as a
>>> >> new vector layer datastore. I try to make the layer upload to store
>>> it in
>>> >> geonode_data database which is defined as a datastore in geoserver.
>>> I've
>>> >> done the following configuration but not working.
>>> >>
>>> >> - migrate the dtb to postgresql (succeeded, the default dtb are now
>>> use
>>> >> postgresql.)
>>> >> - use either geoserver.sample or psql_test local_settings.
>>> >> - use either geonode.rest or geonode.importer as UPLOADER BACKEND.
>>> >>
>>> >> any hints? or Is there any workaround to this?
>>> >>
>>> >> Thanks  in Advance
>>> >>
>>> >> Best Regards,
>>> >>
>>> >> *Aditya Fikri Ghozali*
>>> >> Geodesy and Geomatics Engineering
>>> >> e-mail: adityafikrighozali at gmail.com
>>> >>  | www.adityafikrighozali.com <http://www.adityafikrighozali.com> <
>>> http://www.adityafikrighozali.com>
>>> >>         <https://www.facebook.com/welcomemybest> <
>>> https://www.facebook.com/welcomemybest><
>>> https://www.linkedin.com/in/fikriaditya/> <
>>> https://www.linkedin.com/in/fikriaditya/><
>>> https://www.youtube.com/user/adityafikri/> <
>>> https://www.youtube.com/user/adityafikri/><
>>> https://medium.com/@adityafikrighozali> <
>>> https://medium.com/@adityafikrighozali>
>>> >>
>>> >>
>>> >> <
>>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>> <
>>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>>> >
>>> >> Virus-free.www.avast.com<
>>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>> <
>>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>>> >
>>> >> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>> >> -------------- next part --------------
>>> >> An HTML attachment was scrubbed...
>>> >> URL: <
>>> http://lists.osgeo.org/pipermail/geonode-users/attachments/20181117/746e4bbc/attachment-0001.html>
>>> <
>>> http://lists.osgeo.org/pipermail/geonode-users/attachments/20181117/746e4bbc/attachment-0001.html
>>> >
>>> >>
>>> >> ------------------------------
>>> >>
>>> >> Subject: Digest Footer
>>> >>
>>> >> _______________________________________________
>>> >> geonode-users mailing listgeonode-users at lists.osgeo.orghttps://
>>> lists.osgeo.org/mailman/listinfo/geonode-users
>>> >>
>>> >>
>>> >> ------------------------------
>>> >>
>>> >> End of geonode-users Digest, Vol 46, Issue 22
>>> >> *********************************************
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >>
>>> >>
>>> >>
>>> >> * Dejan Samardžić* Rukovodilac Sektora za ICT / IT Manager
>>> >>
>>> >> CEDIS d.o.o.
>>> >> Ivana Milutinovića 12, 81000 Podgorica
>>> >> gsm: +382 67 220 971
>>> >> tel: +382 20 408 453
>>> >> email: dejan.samardzic at cedis.me
>>> >> web: www.cedis.me
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> geonode-users mailing list
>>> >> geonode-users at lists.osgeo.org
>>> >> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>> >>
>>> > _______________________________________________
>>> > geonode-users mailing list
>>> > geonode-users at lists.osgeo.org
>>> > https://lists.osgeo.org/mailman/listinfo/geonode-users
>>> >
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: <
>>> http://lists.osgeo.org/pipermail/geonode-users/attachments/20181119/0612ff7d/attachment-0001.html
>>> >
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Mon, 19 Nov 2018 12:00:32 +0100
>>> From: Alessio Fabiani <alessio.fabiani at geo-solutions.it>
>>> To: Paulo Frias <pfrias82 at gmail.com>
>>> Cc: dejan.samardzic at cedis.me, geonode-users
>>>         <geonode-users at lists.osgeo.org>
>>> Subject: Re: [GeoNode-users] geonode-users Digest, Vol 46, Issue 22
>>> Message-ID:
>>>         <
>>> CAM7ZvL+VoHCoND22QSHtF_h+UKAPx47JNsXc_30gznH1C8_y8w at mail.gmail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Hi,
>>> can you please open up che debug window on your browser and check for any
>>> Javascript issue?
>>>
>>> (see "console -> errors")
>>>
>>>
>>> Il giorno lun 19 nov 2018 alle ore 11:32 Paulo Frias <pfrias82 at gmail.com
>>> >
>>> ha scritto:
>>>
>>> > I have the same issue.
>>> >
>>> > On Sat, 17 Nov 2018 at 20:41, Dejan Samardzic <
>>> dejan.samardzic at cedis.me>
>>> > wrote:
>>> >
>>> >> Dear Geonode community,
>>> >> I have also installed Geonode ver 2.10RC4 Master branch on docker.
>>> >> Upload of any files doesn't work at all.
>>> >> When I go to Data -> Upload Layers -> Choose Files.....nothing happen
>>> >> (I'm not able to choose file). Look for yourself.
>>> >> https://www.youtube.com/watch?v=XFxC5tyQiLo
>>> >> regards,
>>> >> Dejan Samardžić
>>> >>
>>> >> On 11/17/2018 9:00 PM, geonode-users-request at lists.osgeo.org wrote:
>>> >>
>>> >> Send geonode-users mailing list submissions to
>>> >>      geonode-users at lists.osgeo.org
>>> >>
>>> >> To subscribe or unsubscribe via the World Wide Web, visit
>>> >>      https://lists.osgeo.org/mailman/listinfo/geonode-users
>>> >> or, via email, send a message with subject or body 'help' to
>>> >>      geonode-users-request at lists.osgeo.org
>>> >>
>>> >> You can reach the person managing the list at
>>> >>      geonode-users-owner at lists.osgeo.org
>>> >>
>>> >> When replying, please edit your Subject line so it is more specific
>>> >> than "Re: Contents of geonode-users digest..."
>>> >>
>>> >>
>>> >> Today's Topics:
>>> >>
>>> >>    1. Geonode 2.10RC4 Layer Upload Method (aditya fikri ghozali)
>>> >>
>>> >>
>>> >> ----------------------------------------------------------------------
>>> >>
>>> >> Message: 1
>>> >> Date: Sat, 17 Nov 2018 16:15:16 +0700
>>> >> From: aditya fikri ghozali <adityafikrighozali at gmail.com> <
>>> adityafikrighozali at gmail.com>
>>> >> To: geonode-users at lists.osgeo.org
>>> >> Subject: [GeoNode-users] Geonode 2.10RC4 Layer Upload Method
>>> >> Message-ID:
>>> >>      <CABSG5bZCXna+eRUu=
>>> Y+aOVUkqLmofhDR0d0aLKVkdom4Z3DdMg at mail.gmail.com> <CABSG5bZCXna+eRUu=
>>> Y+aOVUkqLmofhDR0d0aLKVkdom4Z3DdMg at mail.gmail.com>
>>> >> Content-Type: text/plain; charset="utf-8"
>>> >>
>>> >> Dear all,
>>> >> I have a problem with geonode uploads method on Geonode 2.10RC4. The
>>> >> default layer upload was geonode directly sent the file to geoserver
>>> as a
>>> >> new vector layer datastore. I try to make the layer upload to store
>>> it in
>>> >> geonode_data database which is defined as a datastore in geoserver.
>>> I've
>>> >> done the following configuration but not working.
>>> >>
>>> >> - migrate the dtb to postgresql (succeeded, the default dtb are now
>>> use
>>> >> postgresql.)
>>> >> - use either geoserver.sample or psql_test local_settings.
>>> >> - use either geonode.rest or geonode.importer as UPLOADER BACKEND.
>>> >>
>>> >> any hints? or Is there any workaround to this?
>>> >>
>>> >> Thanks  in Advance
>>> >>
>>> >> Best Regards,
>>> >>
>>> >> *Aditya Fikri Ghozali*
>>> >> Geodesy and Geomatics Engineering
>>> >> e-mail: adityafikrighozali at gmail.com
>>> >>  | www.adityafikrighozali.com <http://www.adityafikrighozali.com> <
>>> http://www.adityafikrighozali.com>
>>> >>         <https://www.facebook.com/welcomemybest> <
>>> https://www.facebook.com/welcomemybest><
>>> https://www.linkedin.com/in/fikriaditya/> <
>>> https://www.linkedin.com/in/fikriaditya/><
>>> https://www.youtube.com/user/adityafikri/> <
>>> https://www.youtube.com/user/adityafikri/><
>>> https://medium.com/@adityafikrighozali> <
>>> https://medium.com/@adityafikrighozali>
>>> >>
>>> >>
>>> >> <
>>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>> <
>>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>>> >
>>> >> Virus-free.www.avast.com<
>>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>> <
>>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>>> >
>>> >> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>> >> -------------- next part --------------
>>> >> An HTML attachment was scrubbed...
>>> >> URL: <
>>> http://lists.osgeo.org/pipermail/geonode-users/attachments/20181117/746e4bbc/attachment-0001.html>
>>> <
>>> http://lists.osgeo.org/pipermail/geonode-users/attachments/20181117/746e4bbc/attachment-0001.html
>>> >
>>> >>
>>> >> ------------------------------
>>> >>
>>> >> Subject: Digest Footer
>>> >>
>>> >> _______________________________________________
>>> >> geonode-users mailing listgeonode-users at lists.osgeo.orghttps://
>>> lists.osgeo.org/mailman/listinfo/geonode-users
>>> >>
>>> >>
>>> >> ------------------------------
>>> >>
>>> >> End of geonode-users Digest, Vol 46, Issue 22
>>> >> *********************************************
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >>
>>> >>
>>> >>
>>> >> * Dejan Samardžić* Rukovodilac Sektora za ICT / IT Manager
>>> >>
>>> >> CEDIS d.o.o.
>>> >> Ivana Milutinovića 12, 81000 Podgorica
>>> >> gsm: +382 67 220 971
>>> >> tel: +382 20 408 453
>>> >> email: dejan.samardzic at cedis.me
>>> >> web: www.cedis.me
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> geonode-users mailing list
>>> >> geonode-users at lists.osgeo.org
>>> >> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>> >>
>>> > _______________________________________________
>>> > 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
>>>
>>> @alfa7691
>>> 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
>>>
>>>
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>> -------------------------------------------------------
>>>
>>> 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/20181119/11782c66/attachment.html
>>> >
>>>
>>> ------------------------------
>>>
>>> Subject: Digest Footer
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>>
>>> ------------------------------
>>>
>>> End of geonode-users Digest, Vol 46, Issue 25
>>> *********************************************
>>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>
>
> --
> Paolo Corti
> Geospatial software developer
> web: http://www.paolocorti.net
> twitter: @capooti
> skype: capooti
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181122/bee1fbd6/attachment-0001.html>


More information about the geonode-users mailing list