Giter VIP home page Giter VIP logo

geonode-mapstore-client's Introduction

GeoNode OSGeo Project

Table of Contents

What is GeoNode?

GeoNode is a geospatial content management system, a platform for the management and publication of geospatial data. It brings together mature and stable open-source software projects under a consistent and easy-to-use interface allowing non-specialized users to share data and create interactive maps.

Data management tools built into GeoNode allow for integrated creation of data, metadata, and map visualization. Each dataset in the system can be shared publicly or restricted to allow access to only specific users. Social features like user profiles and commenting and rating systems allow for the development of communities around each platform to facilitate the use, management, and quality control of the data the GeoNode instance contains.

It is also designed to be a flexible platform that software developers can extend, modify or integrate against to meet requirements in their own applications.

Try out GeoNode

If you just want to try out GeoNode visit our official Demo online at: https://development.demo.geonode.org. After your registration, you will be able to test all basic functionalities like uploading layers, creation of maps, editing metadata, styles, and much more. To get an overview what GeoNode can do we recommend having a look at the Users Workshop.

Quick Docker Start

  python create-envfile.py

create-envfile.py accepts the following arguments:

  • --https: Enable SSL. It's disabled by default
  • --env_type:
    • When set to prod DEBUG is disabled and the creation of a valid SSL is requested to Letsencrypt's ACME server
    • When set to test DEBUG is disabled and a test SSL certificate is generated for local testing
    • When set to dev DEBUG is enabled and no SSL certificate is generated
  • --hostname: The URL that will serve GeoNode (localhost by default)
  • --email: The administrator's email. Notice that a real email and valid SMPT configurations are required if --env_type is set to prod. Letsencrypt uses email for issuing the SSL certificate
  • --geonodepwd: GeoNode's administrator password. A random value is set if left empty
  • --geoserverpwd: GeoNode's administrator password. A random value is set if left empty
  • --pgpwd: PostgreSQL's administrator password. A random value is set if left empty
  • --dbpwd: GeoNode DB user role's password. A random value is set if left empty
  • --geodbpwd: GeoNode data DB user role's password. A random value is set if left empty
  • --clientid: Client id of Geoserver's GeoNode Oauth2 client. A random value is set if left empty
  • --clientsecret: Client secret of Geoserver's GeoNode Oauth2 client. A random value is set if left empty
  docker compose build
  docker compose up -d

Learn GeoNode

After you´ve finished the setup process make yourself familiar with the general usage and settings of your GeoNodes instance. - the User Training is going in depth into what we can do. - the Administrators Workshop will guide you to the most important parts regarding management commands and configuration settings.

Development

GeoNode is a web-based GIS tool, and as such, in order to do development on GeoNode itself or to integrate it into your own application, you should be familiar with basic web development concepts as well as with general GIS concepts.

For development, GeoNode can be run in a 'development environment'. In contrast to a 'production environment' development differs as it uses lightweight components to speed up things.

To get started visit the Developer workshop for a basic overview.

If you're planning to customize your GeoNode instance or to extend its functionalities it's not advisable to change core files in any case. In this case, it's common to setup a GeoNode Project Template.

Contributing

GeoNode is an open source project and contributors are needed to keep this project moving forward. Learn more on how to contribute on our Community Bylaws.

Roadmap

GeoNode's development roadmap is documented in a series of GeoNode Improvement Projects (GNIPS). They are documented at GeoNode Wiki.

GNIPS are considered to be large undertakings that will add a large number of features to the project. As such they are the topic of community discussion and guidance. The community discusses these on the developer mailing list: http://lists.osgeo.org/pipermail/geonode-devel/

Showcase

A handful of other Open Source projects extend GeoNode’s functionality by tapping into the re-usability of Django applications. Visit our gallery to see how the community uses GeoNode: GeoNode Showcase.

The development community is very supportive of new projects and contributes ideas and guidance for newcomers.

Most useful links

General

Related projects

Support

Licensing

GeoNode is Copyright 2018 Open Source Geospatial Foundation (OSGeo).

GeoNode is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. GeoNode is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GeoNode. If not, see http://www.gnu.org/licenses.

geonode-mapstore-client's People

Contributors

afabiani avatar allyoucanmap avatar bieganowski avatar davidquartz avatar dependabot[bot] avatar dsuren1 avatar francbartoli avatar gannebamm avatar geosolutions-pr-generator[bot] avatar giohappy avatar gioscarda avatar italogsfernandes avatar kappu72 avatar kikislater avatar luorlandini avatar marthamareal avatar martindelloro avatar mattiagiupponi avatar muhwezideo avatar mumairr avatar offtherailz avatar ridoo avatar t-book avatar tonym3nsa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

geonode-mapstore-client's Issues

Search services are not saved

Steps to Reproduce the Problem

  • I create a map and save it, this works correctly
  • Create / edit a search service and save it. I test if the search works and everything is correct. The problem is when I go out and enter the Map again and the Search Service that I created disappears

Specifications

  • GeoNode version: 3.0

From the GeoNode issue: GeoNode/geonode#5091

When I close editing mode nothing happens

When I am in editing mode a larger map is shown with editing tools enabled.

When I am doing, that is when i click on the X at the LRC the editing tools close and I am left with a large map without any GeoNode context.

I believe we should go back to the standard layer view.

Management of GWC Cached Layers

  • GeoNode should expose endpoints to empty/truncate GWC cache.
  • MapStore2 should be able to invoke above endpoints whenever some change occurs on features or SLD

MapStore Integration - Configure Search Services

From GeoNode-users ml

Hi List,

I want to be able to add a Search Service URL to the MapStore search. With MapStore, there is a ‘Configure Search Services’ plugin which attaches to the Burger Menu:

image003

Nothing happens when I press this button on my portal or on the GeoNode demo (http://master.demo.geonode.org/maps/new)

Where as on the MapStore I get the Configure Service Forms.

Could I have some help getting this option to work?

Regards,

Jack

slow PUT requests when opening a style for editing

It takes a lot to load the style source of a CSS style for editing because of the followig PUT request (with CSS body as the payload) which is run right away at the beginning.

https://master.demo.geonode.org/gs/rest/workspaces/geonode/styles.json?name=<uuid>_ms_1580897799071&access_token=<access_token>

The video below shows a session. It takes more then 9 seconds to load the style source in this case.

style_edit

The video was done with this layer on master demo

Date-Chooser Displaybug

Expected Behavior

Set an attribute filter on a date-attribute between two dates. Select dates with the two given date-choosers.

Actual Behavior

The date-chooser on the right side is cut off and its not possible to scroll to dates in the future.

grafik

Specifications

GeoNode version: 2.10.1 (at master.demo)

GWC truncate does not work on Tomcat deployments

After some further debug with GWC transaction listener, the result is that while the TX Listener is correctly invocated and executed, the method

gwc.truncate(tileLayerName, dirtyRegion);

does not take any effect basically, neither throwing any kind of exception. It simply does not truncate the region of interest. Most likely it is a GWC issue.

connects to #64

webpack dev server now with https for localhost?

@allyoucanmap can you kindly give some guidance as it looks dev setup has changed a bit?

The readme now say one shoud create an env file:

https://github.com/GeoNode/geonode-mapstore-client/tree/master/geonode_mapstore_client/client

The application runs at https://localhost:8081 afterwards.

Can you tell what is the logic forcing https for localhost and should I create a self signed cert? Further, I do wonder as geonode templates still use http

https://github.com/GeoNode/geonode-mapstore-client/blob/master/geonode_mapstore_client/templates/geonode-mapstore-client/base_ms.html#L23

Hence it cannot find the build anymore ?!

thanks,

toni

weird versioning in pip

pip gives me this error if i specify the version:

ERROR: Could not find a version that satisfies the requirement django-geonode-mapstore-client==1.4.8 (from -r requirements.txt (line 77)) (from versions: 1.0rc7.linux-x86_64, 1.0rc8.linux-x86_64, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.6, 0.1.7, 0.1.8, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.17, 0.1.18, 1.0rc0, 1.0rc2, 1.0rc3, 1.0rc4, 1.0rc5, 1.0rc6)

Warning message on map loading

When a map opens the following warning message is exposed:
Selection_026
It should be investigate why this message appears.
It might be a geonode-mapstore-client issue.

After an investigation there are 3 solutions:

  • [ to test ] Set the layer bbox to 4326 server side currently is 3857 (In all view template when layer configuration is provided server side)
  • Fix in MapStore the comparison between bboxs see here
  • Remove the message in Mapstore

3D view dont work

Expected Behavior
3d view working

Actual Behavior
I add the plugins and some config to enable but when i clic i got this error. In mapstore work but with the integration and geonode don't work..

image

Specifications
GeoNode version: 2.10

I appreciate some help. Ty
J.Sanoja

adding mapstore-client plugins

Hi I'm trying to add plugins such as add local vector files, and annotations to my mapstore client viewer. I try including the plugins code in the ms2_map_viewer_plugins.js file and run collectstatic . but still nothing appears on the mapstore viewer. am I modifying the wrong file ?

( a similar issue was adressed in geosolutions-it#150 )

Add Plugins in Mapstore Client

Good afternoon,

About geonode-mapstore-client:

I think it is necessary to have a more complete version of geonode-mapstore-client.

Integrate the following Plugins or functions:

.- Locate me
image

.- Feature Info
image

Additionally solve:

.- The search service settings are not saved on the Map right now
image

.- And another useful issue to solve is the display of attribute results in versions for mobile devices.
image

It would be great if the deployment is achieved by displaying the attributes as in the official version of Mapstore. (on mobile devices)

image

If someone can guide how to do it or if it is designed for future updates.

Thanks for your attention

Display map legend by default

Expected Behavior

Map shows legend, i.e. once the layers panel is opened, the initial view should display symbols for all layers by default.

E.g.:

image

Actual Behavior

No legend (explanation of map symbols) is visible by default. Displaying the legend is not intuitive. I and two other GIS users could not readily find the widget to display the layer map symbols. The left-facing angle bracket < on the right of the layers panel is not an obvious "expand" button:

image

However, once the user has clicked the V icon to collapse the legend, and the icon turns into a <, this is probably intuitive enough for the user to go back and expand the legend again.

Steps to Reproduce the Problem

From Explore maps page, click View map for any map
Click the Layers icon to open the layers panel
There is no legend to explain the symbols used in the map's layers

Specifications

GeoNode version: 2.10.1 (at master.demo)

This issue has been transferred from Geonode issue #4755 which may now be closed.

Print dialog styling issue

The current theme limits the height of the print modal which makes the usage little intuitive.
Bildschirmfoto 2020-06-04 um 09 00 26

Bildschirmfoto 2020-06-04 um 07 43 19

Bildschirmfoto 2020-06-04 um 07 43 26

Further as the screenshots show

  • in the resulting view a white border gives the impression the user needs to scroll on the x-axis
  • the user needs to scroll on the y-axis to get the actual download button

I haven't checked yet if this is an issue with geonode custom styles or the theme which comes with mapstore. The petrol colored theme from geosolutions mapstore demo does this job much better.

Bildschirmfoto 2020-06-04 um 07 57 58

"Add new Style" panel issues

When trying to add a new style to a Layer, we experienced the following behavior:

  • The panel with the template styles starts flickering on mouse move when switching from a tile to another
    image

image

  • After saving the new style, it seems to be applied to the layer but it does not appear among the available styles
    image

image

NOTE: The last point could be already fixed by geosolutions-it/MapStore2#4711

Layout is not updated after closing the catalog

This is due to custom epic for maplayout that need to be updated in geonode-mapstore-client.

steps:

open catalog in map viewer
close the catalog
expected result:

toolbar is back to the start position
current result:

toolbar is floating on the map
65048596-a9309080-d964-11e9-8cb5-fc7513d0f1d7

Location Search does not work with umlauts

Expected Behavior

Search and find addresses with umlauts like "Saarbrücken"

Actual Behavior

While Searchrequests without Umlauts are working, for Saarbrücken an error is shown:

grafik

Internal Server Error: /proxy/

UnicodeEncodeError at /proxy/
'ascii' codec can't encode characters in position 45-46: ordinal not in range(128)

Specifications

GeoNode version: 2.10.1 (at master.demo)

Force apis js update at new build

Clients have a local cache that won't be updated since JS href links appear to be always the same.

We need to add a hash parameter to the linkref in order to force script update when deploying a new build.

SLD Upload breaks timelines

Trying to upload a SLD through the GeoNode interface on a Vectorial Temporal feature, seems to completely reset the time dimension

Print Preview glitches and odd behavior on map

Opening the Print Preview window and trying to move it causes a bad glitch. The window is automatically relocated to the left-top corner and the close button is hidden.

Moreover, on a full-screen map, moving the Print Preview on top, causes the window to go down the top bar. At that point, there's no way to move it again.

Implement CSS support for STYLE_URL and SYLE_BODY GetMap params

The current support of GetMap params STYLE_URL and STYLE_BODY in Geoserver lacks the (correct) management of CSS styles.
The original GSIP was intended to support multiple style formats but, from our tests, only SLD is supported at now.

@allyoucanmap did some tests, setting STYLE_FORMAT=css, but always the default style is applied.

Reading one of our blog posts, it seems that if the LAYERS parameter is present (and in our use case it is) the style is downgraded to "style library". This requires to use the STYLES param to set the "style name" to be applied from the style library, otherwise the default style is applied.
This seems to confirm the described behaviour (default style always applied) but this poses the problem how the STYLES parameter should be used in case of CSS styles.

This is a strong requirement for the MapStore (CSS) Style Editor, otherwise temporary files on Geoserver must be created to preview edits.


Comments from @allyoucanmap

I'm currently working on validation error in the UI and working with temp style in GeoServer it's possible to have a feedback in the request response (error or success).
If we move the temp style outside of GeoServer a new endpoint to validate style is required.

current implementation with temp style on GeoServer
2018-10-16 17_10_48-window

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.