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

Allow for interactive styling of Vector Layers #241

Closed
GoogleCodeExporter opened this issue May 10, 2015 · 7 comments
Closed

Allow for interactive styling of Vector Layers #241

GoogleCodeExporter opened this issue May 10, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

Styling for Vector Layers is usually hard-coded or sometimes configured in 
Heron (e.g. Editor). This issue aims to provide interactive styling of any 
Vector Layer. 

The following scenario should be catered for, at least for a scratch/edit layer:

- right-click on any vector layer in the layer tree and see a palette (styling) 
sybol
- opens a style editor
- edit basic line/polygon/point styles
- advanced: make thematic map, e.g. styles based on attribute values (e.g. 
polygon colours for population count)

GXP contains various of the these style editing functions, try to reuse from 
GXP.

Original issue reported on code.google.com by [email protected] on 19 Jun 2013 at 9:33

@GoogleCodeExporter
Copy link
Author

Excellent prospective functionality, but would/could this be used to style 
features drawn with the redlining tools?

Original comment by [email protected] on 20 Jun 2013 at 10:33

@GoogleCodeExporter
Copy link
Author

It is a very challenging function for which I hope to use the styler from GXP, 
but it relates now to WMS styling and Geoserver REST...

Yes, it is foreseen that any local Vector layer could be styled, no matter its 
origin (WFS, import, Editor), so that includes the Layer from the Editor. 

Original comment by [email protected] on 20 Jun 2013 at 10:55

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 8 Sep 2013 at 7:59

  • Added labels: Milestone-Release0.76
  • Removed labels: Milestone-Release0.75

@GoogleCodeExporter
Copy link
Author

There is an example here with all functionality of the GXP Styler as used in 
The OpenGeoSuite GeoExplorer:
http://suite.opengeo.org/opengeo-docs/geoexplorer/using/style/index.html

The Styler really has all functions. Main problem is that it is used to edit 
SLDs to be managed via REST with GeoServer. Also the context assumed is a GXP 
Viewer.  Just making this note, now looking into how to integrate this into 
Heron.

Original comment by [email protected] on 30 Sep 2013 at 10:34

@GoogleCodeExporter
Copy link
Author

Making good progress: even thematic mapping will be possible: picture shows 
data from WFS (Buildings), create different style rules based on attribute 
value (year of build), gotten via DescribeFeatureType, so no extra config 
required, works  existing WFS Layers. Need to figure out what to do with other 
Vector layers: styling works but labels/thematic rules are an issue.

Now stabilizing code and the example...

Original comment by [email protected] on 3 Oct 2013 at 9:25

  • Changed state: Started

Attachments:

@GoogleCodeExporter
Copy link
Author

Now with nicer image...

Original comment by [email protected] on 4 Oct 2013 at 9:28

Attachments:

@GoogleCodeExporter
Copy link
Author

Closing this now, a crude implementation done into local GXP branch (included 
in Heron distro), bugs/enhancement via new issues...Opened issue on master GXP 
repo:
https://github.com/boundlessgeo/gxp/issues/216

Main example remains here:
http://lib.heron-mc.org/heron/latest/examples/vectorstyler/

Will take some time (and budget) to make fully comprehensive, hopefully in 
collaboration with GXP-folks.

Original comment by [email protected] on 1 Nov 2013 at 12:08

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant