Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Simone Bollati
    @Armisim999_twitter
    This method works for me only for the Home and About pages but doesn't work for the Data, Maps, GeoStories, Dashboards and Futures pages. Any other suggestions? Thank you Alessio
    Simone Bollati
    @Armisim999_twitter
    It's the catalogue that I can't personalize.
    Rebecca Dittmann
    @Saxas13_twitter
    hi all, i have a question regarding deleting entries from a layers table. I have a large (>2mio entries) dataset and as this would cause timeouts when uploading, i splitted the dataset and firstly uploaded only a small part to get through the db and geoserver parts and then subsequently uploaded throug the "add data" option in geonode additional parts ... worked fine so far, but i accidentally uploaded one part two times, which results in doubled features and the set was about 250k entries ... i tried to delete the entries with the edit layers option but this is not really fast ... not for that many entries. If the geonode would run locally i would use pgadmin to delete the entries from the table, but i'm on a https host and couldn't get pgadmin to run there. Has anyone an idea/hint how i can enter the dockerized db to delete the entries? thanks in advance for any help
    17 replies
    Simone Bollati
    @Armisim999_twitter
    Thanks Toni, I tried to look for those parts you indicated but they aren't in my MapStore client, I have extreme urgency to customize the pages of the catalog, thanks for any suggestion.
    7 replies
    geotube
    @indeOWS
    Hi All, I have faced an issue while creating maps (GeoNode@3.2.4 Ubuntu Docker) Missing OGC reference metadata. The same as in here mradamcox/loc-insurancemaps#35 and in GeoNode/geonode#7306. In my case, there is nothing related with comma (,) in the Metadata Title. It is just weird and I could not find the source of the problem. Any comment will be very appreciated it.
    Toni
    @t-book
    @afabiani thanks you Alessio! 😀🚀
    Nils Thiele
    @sonicnkt
    Hi, im deploying geonode using docker. Now i want to customize the templates/css. Doing this using docker would be a very slow process as im not that good with css/html so i would always have to rebuild the container to check if my changes are working correctly.
    Best solution would be a simple test system which only runs the basic geonode djanog interface but not the full stack of geoserver etc in the background. So i can quickly try changes. Is this possible?
    6 replies
    Rebecca Dittmann
    @Saxas13_twitter
    hi all, i found that the encoding (UTF-8 etc) is not properly working, when using the "Add data to layer" option. When i first uploaded a shape file the encoding worked perfect, the german special character "ä,ü,ö" were shown correctly in the names field. After i uploaded additional data with the same encoding, this time, the "ä,ö,ü" were transformed in unreadable characters ... i could exchange them in the database, but thought, this is maybe a bug, which should be solved ... i'm running geonode 3.3.0 on docker
    2 replies
    manapshymyr-OB
    @manapshymyr-OB
    Hi everyone, I am pretty new to the Geonode. I have successfully published layers and created an interactive map. I have 14 layers, which loads entirely for my country. But now I do not want to load layers entirely. I have layer which divides the country into grids with sizes of 10 x 10 km. Is it possible to make to load layers only when the zones are selected and automatically zoom in to the selected zone? Can someone give directions/suggestions to handle this idea? Thanks in advance!
    Adam Cox
    @mradamcox
    Hi everyone, I've completed my master's thesis in which I used GeoNode heavily, specifically I created an extension that allowed users to georeference Documents (scanned historical maps) in GeoNode, turning them into raster Layers (it was a crowdsourcing project: https://oldinsurancemaps.net). I already mentioned this on the geonode-devel listserv, but if georeferencing in GeoNode interests you or your organization, let me know and perhaps we can work together on making this extension something everyone can use (see more: https://github.com/mradamcox/loc-insurancemaps). It worked well for my project (people georeferenced over 1,500 documents) and I constructed it as a generic extension, but it could use some revisions to make it something anyone else can implement. I think the capability really adds a lot to a geonode installation!
    6 replies
    I also wanted to give a big thanks to folks here, especially @gannebamm , @t-book , @davekennewell, and @afabiani for help here on gitter over the last couple of years while I've been working on the project (since I first presented at the 2020 geonode summit). I appreciated the help immensely :)
    Nils Thiele
    @sonicnkt

    So i finally wanted to move geonode to a dedicated server machine. I had this running fine on my machine in the past but im failing now at the basic installtion:
    I want to get 3.3.x running using docker and geonode_project. I followed the following instructions without any issues:
    https://docs.geonode.org/en/3.3.x/install/basic/index.html#first-step-deploy-geonode-on-a-local-server-e-g-http-localhost

    But after building the container i just cant access geonode on http://localhost. Every container seems to run fine (for example i can access geoserver ui without issues) with the exception of jenkins (Https error) and letsencrypt ( using localhost wont work).

    Trying to access localhost just returns a 502 error, like the uwsgi server wasnt running but i cant see any errors in the django container:
    ` django4my_geonode | Executing UWSGI server uwsgi --ini /usr/src/my_geonode/uwsgi.ini for Production django4my_geonode | ----------------------------------------------------- django4my_geonode | FINISHED DJANGO ENTRYPOINT -------------------------- django4my_geonode | ----------------------------------------------------- django4my_geonode | got command uwsgi --ini /usr/src/my_geonode/uwsgi.ini django4my_geonode | [uWSGI] getting INI configuration from /usr/src/my_geonode/uwsgi.ini `
    5 replies
    i havent done any custom env configuration and just copied the sample
    Simone Bollati
    @Armisim999_twitter
    Hi everyone, I'm trying in every way to modify / remove the footer from the catalogue pages but I don't understand how to do it, I can create a custom one only for the Home and About pages. Is there anyone who managed to remove it? Thanks for any suggestions.
    26 replies
    catalogue_edit.png
    lihuaweifly
    @lihuaweifly
    hello,everyone, when i run the command:python manage.py runserver --settings=geonode.local_settings , show this error: django.db.utils.ProgrammingError: error: relation "django_site" don't exists LINE 1: ..."django_site"."domain", "django_site"."name" FROM "django_si... ,someone can help me ,thank you
    Florian Hoedt
    @gannebamm
    @mradamcox nice! We currently do not need such functionality even though it is technically impressive :)
    @t-book maybe this is something for the DAI (german archaeological institute)?
    Florian Hoedt
    @gannebamm

    Hi, I am a bit puzzled about the GeoServer datadir and updating my v3.3.x to v4.x :

    # Geoserver backend
    geoserver:
      image: geonode/geoserver:2.18.2
      build: docker/geoserver/
    # snip
      volumes:
    # snip
        - geoserver-data-dir:/geoserver_data/data
    
    data-dir-conf:
      image: geonode/geoserver_data:2.18.2
    # snip
      volumes:
        - geoserver-data-dir:/geoserver_data/data
    # snip

    If I upgrade to a newer data-dir-conf (eg. 20.20.5 (https://github.com/GeoNode/geonode/blob/4.x/docker-compose.yml#L116)) the new data-dir-conf container will just overwrite the old geoserver config files and not fiddle around with my workspaces and layer configs, right? At least this is what I understand by this line https://github.com/GeoNode/data-docker/blob/master/Dockerfile#L24

    Florian Hoedt
    @gannebamm
    has anybody tested the ldap contrib app with geonode v4, yet?
    4 replies
    Toni
    @t-book
    I haven't but important thing to do!
    Nils Thiele
    @sonicnkt

    @t-book i have identified the culprit in the 3.3.X branch of geonode-project that caused the issues with not being able for nginx to proxy to django using uwsgi. Since the master branch worked fine i checked the latest commits and there was one (Fix create-envfile and uwsgi.ini proxy ) i added those manually to my 3.3.X project and now its working.
    The culprit was the uwsgi.ini. In 3.3.X it looks like this:

    # socket = 0.0.0.0:8000
    http-socket = 0.0.0.0:8000

    master/4.x looks like this:

    socket = 0.0.0.0:8000
    # http-socket = 0.0.0.0:8000

    So using http-socket seems to only allow http proxying and not uwsgi.

    Toni
    @t-book
    @sonicnkt interesting! This would be worth to file an issue @ github. Could you take care of it?
    Nils Thiele
    @sonicnkt
    @t-book will do that
    Nils Thiele
    @sonicnkt
    nagyrobir
    @nagyrobir
    Hi everybody! I had an older version of geonode up and running using docker. Since it was only a playground to test i wanted to upgrade it to a newer version and since i don't have any valuable info on it, I removed all the containers, and the folders that come with the installation: geonode_project and my_geonode. I have followed the steps from the guide to install version 4.x and when i need to run ./docker-build.sh i get the following error
    'my_geonode) robnag@p1geonode01:~/my_geonode$ sudo ./docker-build.sh
    WARNING: The COMPOSE_PROJECT_NAME variable is not set. Defaulting to a blank string.
    WARNING: The HTTPS_HOST variable is not set. Defaulting to a blank string.
    WARNING: The HTTP_HOST variable is not set. Defaulting to a blank string.
    WARNING: The HTTPS_PORT variable is not set. Defaulting to a blank string.
    WARNING: The HTTP_PORT variable is not set. Defaulting to a blank string.
    WARNING: The LETSENCRYPT_MODE variable is not set. Defaulting to a blank string.
    WARNING: The ADMIN_EMAIL variable is not set. Defaulting to a blank string.
    WARNING: The POSTGRESQL_MAX_CONNECTIONS variable is not set. Defaulting to a blank string.
    WARNING: The JENKINS_HTTP_PORT variable is not set. Defaulting to a blank string.
    WARNING: The JENKINS_HTTPS_PORT variable is not set. Defaulting to a blank string.
    ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.
    For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/'
    I tried upgrading my docker compose, which is version 1.25 currently it did not help. Do you have any ideas on what am i doing wrong?
    frafra
    @fraph24:matrix.org
    [m]
    1. do not use sudo with Docker; just add you user to the docker group, as written in the Docker documentation; 2. check your .env file 3. use docker compose plugin, not the deprecated Python docker-compose
    Toni
    @t-book

    in addition to frafra. Also check that you actually have build the project django-admin startproject --template=./geonode-project -e py,sh,md,rst,json,yml,ini,env,sample,properties -n monitoring-cron -n Dockerfile your_project

    COMPOSE_PROJECT_NAME could also indicate you missed this step or running from a wrong location

    nagyrobir
    @nagyrobir
    Hei! Thanks for the answers. I have omitted the sudo and i have run explicitly again the command @t-book and now i have another error:
    '(my_geonode) robnag@p1geonode01:~$ django-admin startproject --template=./geonode-project -e py,sh,md,rst,json,yml,ini,env,sample,properties -n monitoring-cron -n Dockerfile my_geonode
    (my_geonode) robnag@p1geonode01:~$ cd my_geonode
    (my_geonode) robnag@p1geonode01:~/my_geonode$ ./docker-build.sh
    WARNING: The COMPOSE_PROJECT_NAME variable is not set. Defaulting to a blank string.
    WARNING: The HTTPS_HOST variable is not set. Defaulting to a blank string.
    WARNING: The HTTP_HOST variable is not set. Defaulting to a blank string.
    WARNING: The HTTPS_PORT variable is not set. Defaulting to a blank string.
    WARNING: The HTTP_PORT variable is not set. Defaulting to a blank string.
    WARNING: The LETSENCRYPT_MODE variable is not set. Defaulting to a blank string.
    WARNING: The ADMIN_EMAIL variable is not set. Defaulting to a blank string.
    WARNING: The POSTGRESQL_MAX_CONNECTIONS variable is not set. Defaulting to a blank string.
    WARNING: The JENKINS_HTTP_PORT variable is not set. Defaulting to a blank string.
    WARNING: The JENKINS_HTTPS_PORT variable is not set. Defaulting to a blank string.
    ERROR: The Compose file './docker-compose.yml' is invalid because:
    services.jenkins.ports contains an invalid type, it should be a number, or an object
    services.jenkins.ports contains an invalid type, it should be a number, or an object
    services.geonode.ports contains an invalid type, it should be a number, or an object
    services.geonode.ports contains an invalid type, it should be a number, or an object
    services.jenkins.ports value [':', ':', '50000:50000'] has non-unique elements
    '. Any ideas here my fellow colleagues?
    Nils Thiele
    @sonicnkt
    you need to have a valid .env in your directory. You could use the supplied .env.sample (just copy or rename) or create a new one using the supplied python script create-envfile.py
    1 reply
    this is missing in the documentation (master) atm
    nagyrobir
    @nagyrobir
    Okey...i figured it out, the folder creation does not come with a . env file. it comes with a .env. sample file that needs then to be edited.
    didn't find this in the steps
    Rafael Sá
    @rafaelsa99

    Hi all! I am using GeoNode (version 3.3.2) in a project, where one of the requirements is to be INSPIRE compliant.
    I have seen that in settings.py the metadata:inspire['enabled'] is set to True. However, in the metadata details not all the fields that are required are there.
    I tried to enable the INSPIRE extension in GeoServer, but it asks for a Service Metadata URL, and a Service Metadata Type (CSW GetRecord by ID request OR Online ISO 19139 Service Metadata Document). Using GeoNode, what URL should I enter?

    Even if I'm using GeoServer with the INSPIRE standard, how can I display the INSPIRE metadata in the GeoNode interface? Is there any configuration I need to do, or do I have to add the fields manually (similar to the example in the documentation where you add the DOI field)?
    Thanks for any help!

    Peter van Zetten
    @Zetten
    I'm curious where the GeoNode GeoServer distributions come from - e.g. as pulled in the Dockerfile from https://artifacts.geonode.org/geoserver/${GEOSERVER_VERSION}/geoserver.war. Are these custom-built .war files, or just copied from upstream GeoServer? If the former, where is the build configuration?
    3 replies
    nagyrobir
    @nagyrobir
    After doing everything geonode sort of runs but i am getting unhealthy jenkins and django geonode containers....
    1 reply
    Nils Thiele
    @sonicnkt
    So i got the hang of basic configuration and customization, now i wanted to add some sample data. Had no issues with my geotiff but my shape files ask for an SRS to be set. The shape and the raster have the same epsg code (7792) wondering why it wont work for the shape tho. Geonode then lets me select from a list of prepopulated options but here the correct one is missing. Can i check somehow why it wont use the srs data from the shape file and how would i add more epsg codes to the list ?
    I can force the correct epsg in geoserver but this still results in broken thumbnail generation and dimensions in the geonode ui
    2 replies
    TheCulpritNZ
    @TheCulpritNZ
    Hi - I want to use query string parameters to centre and zoom a map when it is viewed. Is this possible in GeoNode? for instance ... /maps/1511/view#/center=[lat & long of view ceter]&zoomextent=[zoom level]
    1 reply
    manapshymyr-OB
    @manapshymyr-OB

    Hi everyone, I am pretty new to the Geonode. I have successfully published layers and created an interactive map. I have 14 layers, which loads entirely for my country. But now I do not want to load layers entirely. I have layer which divides the country into grids with sizes of 10 x 10 km. Is it possible to make to load layers only when the zones are selected and automatically zoom in to the selected zone? Can someone give directions/suggestions to handle this idea? Thanks in advance!

    Can someone share ideas?

    Erika Mariano
    @erikamariano_gitlab
    Hello! I'm using Geonode 3.2.X, with Geoserver 2.18.6.
    I'm able to upload Geojson using the API (endpoint: /api/v2/uploads/upload/).
    However, if the geojson contains an array inside properties, it gets stuck on "pending" status. For instance:
    "properties":{"soil_type":["clay","silt"]}
    .
    Is this a thing from Geoserver? It shows me message: "java.io.IOException: file is read only"
    .
    I've tried to change config from WFS (following this idea: https://gis.stackexchange.com/questions/265073/geoserver-read-only-error-for-updating-wfs-layer), but not sure if this is the rigth path.
    Any suggestion? Thanks!
    Rafael Sá
    @rafaelsa99

    Hello everyone,

    I am using a GeoNode project (version 3.3.2, installation without Docker) and I have created some models that I would like to add to the Haystack indexes.

    I have already created the indexes for my models, and according to the Haystack documentation I need to run the update_index or rebuild_index commands, which are not available in GeoNode.

    According to the GeoNode documentation, I have to set the HAYSTACK_SEARCH property to True to enable haystack Search Backend Configuration. I tried to set this property in my geonode-project settings, but I still couldn't execute the commands. I tried to change it directly in the GeoNode settings, and the commands appeared, but I get the error:

    elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f37210ff8e0>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f37210ff8e0>: Failed to establish a new connection: [Errno 111] Connection refused)

    Do you have any idea how to solve this error?

    Or a workaround to index my models in GeoNode's Haystack.

    Thanks in advance.

    felipe
    @johnfelipe
    hi dear
    is possible deploy locally docker image with latest version of all?
    Toni
    @t-book
    hi @johnfelipe yes whenever you`re on master branch you get the latest commits. I'm saying commits as requirements like mapstore are pinned ...
    Nils Thiele
    @sonicnkt
    I noticed that when enabling a custom theme with slideshows geonode webui stopped working with the following error in geonode.log (Geonode Project, 3.3.X)
    module 'bleach.sanitizer' has no attribute 'ALLOWED_STYLES'
    I stumbled upon the following issue GeoNode/geonode#9263 and after upgrading django-markdownify to 0.9.2 (keeping django at 2.2.24) everything worked fine.
    Can somebody else confirm this? If yes the newer version should be added to the geonode requirements for this "older" branch as well
    Nils Thiele
    @sonicnkt
    If i want to add custom translations strings with geonode project, is it enough to add these to the corresponding .po, then generate a .mo (and putting these into my project locales directory and the referencing these in templates using {% trans "Custom String" %}?
    Roberto Cordova Albelda
    @adonis-albelda
    Hello guys, does anybody here knows how to change this print header while printing the map in a pdf ? Tried to change the image print_header.png but its still same image is generating. I wish there's a settings for this.
    image.png