Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNIP-52: Create empty layer #3269

Closed
capooti opened this issue Sep 6, 2017 · 4 comments
Closed

GNIP-52: Create empty layer #3269

capooti opened this issue Sep 6, 2017 · 4 comments
Assignees
Labels
gnip A GeoNodeImprovementProcess Issue
Milestone

Comments

@capooti
Copy link
Member

capooti commented Sep 6, 2017

Overview

In many GeoNode instances there is the need to create layers from scratch. A contrib application is needed which will let the user to create an empty layer. The user will be able for that given layer to assign:

  • layer name
  • layer title
  • geometry type (Points, Lines, Polygons)
  • a number of fields

For each field the user will be able to define the name and its type (String, Integer, Float, Date)

The application will be part of geonode.contrib applications and requires PostgreSQL/PostGIS, so it will not be part of default INSTALLED_APPS

A django management command will be include, to create empty layers from the Django shell.

Proposed by

Paolo Corti and Ben Lewis, Harvard CGA
Francesco Stompanato and Dimitris Karakostis, WFP

Assigned to release

2.8

Mockup

screenshot 2017-09-06 17 13 53

@capooti capooti self-assigned this Sep 6, 2017
@capooti capooti added enhancement feature A new feature to be added to the codebase gnip A GeoNodeImprovementProcess Issue labels Sep 6, 2017
@capooti capooti added this to the 2.8 milestone Sep 6, 2017
@capooti
Copy link
Member Author

capooti commented Sep 6, 2017

I am pretty close to submit a PR for this, here is the branch:
https://github.com/capooti/geonode/tree/create-layer-app

@afabiani
Copy link
Member

afabiani commented Sep 7, 2017

+1
it looks interesting. Just a question, this empty layer will be connected somehow to a geospatial dataset or it will remain just an empty descriptor?

@capooti
Copy link
Member Author

capooti commented Sep 7, 2017

Yes, this application will create a PostGIS layer and add it to GeoServer, then register as a layer in GeoNode. It is useful in many scenarios when there is a need to digitize information from basemaps or create map notes using WFS/T.

@capooti
Copy link
Member Author

capooti commented Sep 7, 2017

Here is the application in action:

http://recordit.co/anFE0BQRYr

capooti added a commit to capooti/geonode that referenced this issue Sep 7, 2017
afabiani pushed a commit that referenced this issue Sep 8, 2017
Adding the createlayer contrib application, as per GNIP #3269
capooti added a commit to capooti/geonode that referenced this issue Sep 8, 2017
@afabiani afabiani removed the feature A new feature to be added to the codebase label Aug 22, 2019
@afabiani afabiani changed the title GNIP: Create empty layer GNIP-52: Create empty layer Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gnip A GeoNodeImprovementProcess Issue
Projects
None yet
Development

No branches or pull requests

2 participants