07-27-2018 06:35 PM
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.
07-27-2018 01:55 AM
You could use SQL scripts fill the MAPP_STYLE table:
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.