GithubHelp home page GithubHelp logo

geonode / geonode-mapstore-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from geosolutions-it/geonode-mapstore-client

13.0 13.0 103.0 1.05 GB

MapStore Client for GeoNode

Home Page: http://geonode.org/geonode-mapstore-client/master

License: Other

Makefile 0.02% Python 3.10% Shell 0.11% HTML 15.04% JavaScript 71.20% Less 9.63% CSS 0.89%

geonode-mapstore-client's Issues

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.

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

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

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

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

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.

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

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

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

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

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)

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.

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

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 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

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.

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

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

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)

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)

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.