Ready for programming PTV xServer?

Dear all,

PTV provides a specific tutorial so called “PTV Cookbook” in order to give you any support to start immediately with your first application using PTV xServer as the obligatory server components. Our target is hereby to offer a bundle of code samples for all relevant use cases. Using the PTV Cookbook, you are able to overcome the common obstacles and to get confident with the API of the PTV xServer.

Overview tutorial

Please notice that the PTV Cookbook is divided in several sections as follows:

  • Basic information: This provides a set of links concerning the technical information and the API. More relevant information is also documented in the general programming guidelines, the specific descriptions of common classes and the optional use of add-on tools. Furthermore, the data content (traffic and logistic information) and last but not least some detailed information about feasible use cases (e.g. RoadEditor export) are also part of the tutorial.
  • Code samples: These examples illustrate many opportunities how to develop your business application. A bundle of code samples are added to give you a quick impression about geocoding, mapping, route and trip planning using PTV xServer as basic server components for your own web-services.
  • Further information: This indicates more possibilities to get confident with the developer components. Are you a javascript expert? Use our Code Sample Browser for web-applications and find more advanced examples how to interact with PTV maps. Download test tools to get confident with our components. Join our PTV webinars to be informed about the newest features. Use the opportunity to talk to our experts.

Anyway, you haven’t got any points of contact until today and you would like to test the PTV xServer, please use our online form to order the current test versions.

How to work with the code sample tutorials?

First of all, we start with a common introduction. Which use case is to be described, which objects are involved. In general, we underpin this with a figure such as follows:

basic tour planning

The next steps show you how to get familiar with the PTV API. At first, you learn how to instantiate the PTV xServer clients. Then you start to define the necessary classes to fulfill the exercise.

PTV xServer clients

At least, you call the method and set the output in tables and figures.

Tour output

I hope this little introduction gave you a nice impression how easy it is to start with the PTV developer components. If you need more help please contact our PTV xServer support.

Kind regards from Karlsruhe,

Dr. Michael Nutto

Product Manager PTV xServer