Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Staff
Posts: 106
Registered: ‎11-24-2015

SLD support in MApp Enterprise

Hi,

 

For a tender for a new web based mapping system/mobile mapping, we would like to propose M.App Enterprise.

In order to respond we need to build a demo system using data supplied by the end-user. They have supplied 98 vector layers each with individual styling rules in .SLD format.

 

How can I easily apply those styling rules (SLD) instead of individually setting up each vector layer? Should be able to re-use the already configured styles.

 

Thanks,

Jonny.

Highlighted
Technical Evangelist
Posts: 179
Registered: ‎03-03-2016

Re: SLD support in MApp Enterprise

You could use SQL scripts fill the MAPP_STYLE table:

ID

NAME

STYLESET_ID

STYLE

 

The id column is the GUID like primary key.

The name column must correspond with the vector dataset name.

The styleset_id column is the foreign key to the style set.

The style column holds the plain text SE (Symboloby Encoding) XML syntax. So if you take the SE portion from the SLD and it should be fine.

 

Only symbols would need some preprocessing ... it's just about the URL of the OnlineResource that holds the actual symbol file. But let's discuss that later on.

 

 

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.