Problem

This forum covers all questions dealing with visualization of data within the native PTV xMap interface. Please remember that additional plugins such as AJAX or Leaflet may be handeled in other forums.
Post Reply
davidl
Posts: 1
Joined: Thu Apr 09, 2015 12:20 pm

Problem

Post by davidl »

Hallo Forumsmitglieder,
für eine Projektarbeit in der Uni müssen wir ein paar programme zum laufen bringen und haben da Probleme mit ein paar letzten Parametern, vlt. kann uns ja wer helfen.
Die Fehlenden Parameter in der Xmap datei wären bei "log1" "log2" , "log3" und bei "Z=?".
Sehr viele Parameter konnten wir gut Lösen aber da hängen wir.
Ps: wollte die Datei hochladen aber der Dateityp wird nicht Aktzeptiert, bei bedarf könnte ich sie ja woanders hochladen.
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Problem

Post by Bernd Welter »

Hello David,
(community language is english :D )
the log1... properties within the CallerContext are forwarded to the logfiles of the transaction:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <ns4:renderMap xmlns="http://wrappertypes.service.jabba.ptvag.com" xmlns:ns2="http://common.xserver.ptvag.com" xmlns:ns3="http://xmap.xserver.ptvag.com" xmlns:ns4="http://types.xmap.xserver.ptvag.com" xmlns:ns5="http://baseservices.service.jabba.ptvag.com" xmlns:ns6="http://exception.core.jabba.ptvag.com">
      <ns4:MapSection_1 zoom="0" scrollVertical="0" scrollHorizontal="0" scale="1000">
        <ns3:center>
          <ns2:point y="6369874.0" x="681142.0"/>
        </ns3:center>
      </ns4:MapSection_1>
      <ns4:MapParams_2 useMiles="false" showScale="true"/>
      <ns4:ImageInfo_3 height="400" width="400" format="GIF"/>
      <ns4:ArrayOfLayer_4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
      <ns4:boolean_5>true</ns4:boolean_5>
      <ns4:CallerContext_6 log1="bullshit" log2="bingo" log3="!!!">
        <ns5:wrappedProperties>
          <ns5:CallerContextProperty value="PTV_MERCATOR" key="CoordFormat"/>
          <ns5:CallerContextProperty value="default" key="Profile"/>
        </ns5:wrappedProperties>
      </ns4:CallerContext_6>
    </ns4:renderMap>
  </soap:Body>
</soap:Envelope>
produces
2015-04-13 19:16:50,557;INFO;RequestTimes;35eb9b47-551d-4989-b9e7-f16f1f5fa739;127.0.0.1;unknown-http;50010;unknown-cluster;XMap.renderMap;true;bullshit;bingo;!!!;default;m0001;6;0;2;17;0;7;18;31;NO-TXN;;;;;;;-;-;-

That's it... So you can use the logs to trace your applications method calls.

The mysterious z is just the 3rd dimension (optional) of a geometries point object.

Best regards
Bernd
Post Reply