Greetings,
A long time ago someone created a customer map style for the map and now we're interested in reusing this map style for xServer2, is it possible to port this or should it be created again from scratch? Which tool should be used for this.
Best regards,
Damjan
Custom map style compatibility between xServer1 and 2
- Bernd Welter
- Site Admin
- Posts: 2703
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Custom map style compatibility between xServer1 and 2
Hello Damjan,
the native rendering parameters are stored ina an ini-file (e.g. "tarender.ini") which is supposed to be stored in the /conf/profiles subfolder. You can then refer to the ini file through the server's stored profile
The profiles will be offered in the mapping showcases, too:
And you can gather the description via the xServer2.getServerConfiguration API:
Best regards,
Bernd
the native rendering parameters are stored ina an ini-file (e.g. "tarender.ini") which is supposed to be stored in the /conf/profiles subfolder. You can then refer to the ini file through the server's stored profile
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<profile version="2" dataCompatibilityVersion="2" parent="featurelayer/fl_*"
useCases="rendering" displayName="tarender.ini">
<description>This profile contains Bernd Welters special tarender style.</description>
</profile>
And you can gather the description via the xServer2.getServerConfiguration API:
Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Bernd Welter
- Site Admin
- Posts: 2703
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Custom map style compatibility between xServer1 and 2
And here's some additional info:
When playing with custome render files ensure to consider the stable rendering of labels...
Bernd
When playing with custome render files ensure to consider the stable rendering of labels...
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...