Page 1 of 1

True Facts about: High Performance Graphs

Posted: Thu Aug 11, 2022 1:23 pm
by Bernd Welter
Cheerio,

here are some small but important facts about the usage of HPR
QuestionAnswer
Warmup-phase: will the graphs be loaded at server start?Nope - if you want to ensure that all graphs are in memory before users start to use them you can create a dummy routing for each graph. And please ensure to provide enough memory to consider all your graphs being loaded at the same time.
The documentation mentions map-provided networks. Where can I find those standard search graphs shipped by PTV?Probably the answer is "You can't". The proper location of those graphs is "somewhere below the map folder" but we might only ship them on request.
HPRs for everyone - As an administrator I'd like to provide HPRs to all users, no scope needed. How?Create a subfolder /hpr below the map folder and drop your graphs there. This is the path for map-provided folders and that's just what you want to achieve.
List of my local HPRs. The first two elements in the list are the ones stored below my map folder. The other graphs are placed below [server]/data/hpr
List of my local HPRs. The first two elements in the list are the ones stored below my map folder. The other graphs are placed below [server]/data/hpr
Missing HPRs: My subfolders contain many HPRs. If I list the graphs via listHighperformanceRoutingNetworks some of the files aren't reported. Why?The list function checks whether a HPR file matches the current map. If a file is missing it has probably been generated with an alternative map.
How can I create a continental routing network?You can use the geographic restrictions and set the allowed countries to one of the special values such as "ZZ-EUR".
map provided networks: Which HPRs are offered by PTV in xServer Internet?Check the user data monitor or send this request to xData (graphs without a scope belong to all users):

Code: Select all

{
  "scope": "allscopes",
  "resultFields": {
    "highPerformanceRoutingNetworkOptions": false,
    "profiles": false
  }
}
Zombie graphs: is it possible to delete old graphs from previous map versions via API?Nope - that's a task an administrator should perform on file level once the map update is done.
2 b extended...
Best regards,
Bernd

Re: True Facts about: High Performance Graphs

Posted: Thu Aug 11, 2022 1:39 pm
by CAPcargo
In case I have unlisted graphs - based on they do not fit to the map - how can I delete them?

Re: True Facts about: High Performance Graphs

Posted: Thu Aug 11, 2022 1:44 pm
by Bernd Welter
In case I have unlisted graphs - based on they do not fit to the map - how can I delete them?
:idea: I assume that you can't access these zombie graphs via API. Therefore a local administrator would have to delete them on file system level. Preferably once the map update has been installed and confirmed successful.