Hexagon Geospatial
MENU

WebGIS

Need a push in the right direction when configuring WebMap, Portal or SDI services? Looking for hints and tips, or just looking for Ideas and information? The WebGIS discussion board is where you start those discussions, connect and share information.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Contributor
Posts: 27
Registered: ‎05-11-2016

Is it possible to config a style for WFS in publishing process using WebMap?

Hello,

When loading a WFS from Webmap in Geospatial portal, the WFS is always displayed in black and gray style.  Though the user can set a new style in portal, it's only simple and have to set it again when open portal each time.

So if user can set up a custom style for WFS during creating WFS service, so that each time loading wfs in portal, the custom wfs style can be displayed.

 

Thanks

xiaoming

 

Technical Evangelist
Posts: 1,058
Registered: ‎09-11-2015

Re: Is it possible to config a style for WFS in publishing process using WebMap?

Hi Xiaoming,

 

It's possible to define default styles for services like WFS:

https://hexagongeospatial.fluidtopics.net/book#!book;uri=ffce3df41f0d5534e9d8c77f1d61a293;breadcrumb...

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Contributor
Posts: 27
Registered: ‎05-11-2016

Re: Is it possible to config a style for WFS in publishing process using WebMap?

Hello Jan,

Thank you for your information.

Is it possible to config complex symbol for point and line, such as star for point, dash line for line?

Where can I find the rule for configing the style in  StyleConfig.js?

 Regards,

xiaoming

Technical Evangelist
Posts: 1,058
Registered: ‎09-11-2015

Re: Is it possible to config a style for WFS in publishing process using WebMap?

Same question was actually placed here, but unfortunately I don't know the precise answer:

http://community.hexagongeospatial.com/t5/Support-WebGIS/Dashed-line-styling-for-WFS-in-Geospatial-P...

 

It looks to me like advanced styling is not easily possible.

 

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Anonymous
Posts: 0

Re: Is it possible to config a style for WFS in publishing process using WebMap?

Hi Walter,

 

Complex styling is not supported as the style is applied client side. The JSOn style object in StyleConfig.js is based exactly on the client side styling window we see on Geospatial Portal.

 

 

GSP_Style.png

 

Regards,

Rohit Sinha

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.