Custom map style compatibility between xServer1 and 2

This forum covers all questions dealing with visualization of data within the native PTV xMap interface and the
PTV Developer Raster Maps API
Please remember that additional plugins such as AJAX or Leaflet may be handeled in other forums.
Post Reply
CAPcargo
Posts: 34
Joined: Tue May 19, 2015 12:53 pm

Custom map style compatibility between xServer1 and 2

Post by CAPcargo »

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
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Custom map style compatibility between xServer1 and 2

Post by Bernd Welter »

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

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>
The profiles will be offered in the mapping showcases, too:
My showcases
My showcases
And you can gather the description via the xServer2.getServerConfiguration API:
showcase profiles2.png
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... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Custom map style compatibility between xServer1 and 2

Post by Bernd Welter »

And here's some additional info:

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... :twisted:
Post Reply