Other Software and Data

 View Only
Expand all | Collapse all

Any idea what the issue is with my routing API task?

  • 1.  Any idea what the issue is with my routing API task?

    Posted 06-19-2018 07:43

    Time Status Message

    18/06/2018 22:02:28 Informational Task Started.

    18/06/2018 22:02:28 Informational A temporary copy of the input table 'Operational_...' has been made

    18/06/2018 22:02:28 Informational Server: PB Geozone

    18/06/2018 22:02:28 Informational   Server Name: https://api.pitneybowes.com/location-intelligence

    18/06/2018 22:02:28 Informational   TravelTime: 10,20,30

    18/06/2018 22:02:28 Informational   TimeUnit: Minute

    18/06/2018 22:02:28 Informational   Cost: 10,20,30

    18/06/2018 22:02:28 Informational   Count: 3

    18/06/2018 22:02:28 Informational   CommuteMode: Driving

    18/06/2018 22:02:28 Informational   MaxOffroadDistance: NaN

    18/06/2018 22:02:28 Informational   MaxOffroadDistanceUnit: Mile

    18/06/2018 22:02:28 Informational   DefaultAmbientSpeed: 15

    18/06/2018 22:02:28 Informational   AmbientSpeedUnit: MilesPerHour

    18/06/2018 22:02:28 Informational   DestinationSrs: epsg:4326

    18/06/2018 22:02:28 Informational   ReturnHoles: False

    18/06/2018 22:02:28 Informational   ReturnIslands: False

    18/06/2018 22:02:28 Informational   SimplificationFactor: 0.5

    18/06/2018 22:02:28 Informational   BandingStyle: Donut

    18/06/2018 22:02:28 Informational   HistoricTrafficTimeBucketOption: None

    18/06/2018 22:02:28 Informational   MajorRoads: False

    18/06/2018 22:02:28 Informational   Records Processed: 0

    18/06/2018 22:02:28 Informational   Task Result: Running

    18/06/2018 22:02:28 Informational Region Name: NAME

    18/06/2018 22:02:28 Informational 50 input rows.

    18/06/2018 22:02:29 Informational Creating new table '...Batch_Isochrones_v2b.TAB'.

    18/06/2018 22:02:29 Informational Ouput table Batch_Isochrones_v2b created.

    18/06/2018 22:02:29 Informational Creating DriveTime Regions.

    18/06/2018 22:02:33 Informational Inserting Rows

    18/06/2018 22:02:43 Error One or more errors occurred.

    18/06/2018 22:02:43 Error Error processing Region Name Salisbury: Error calling GetTravelBoundaryByTime: {"errors":[{"errorCode":"PB-APIM-ERR-1000","errorDescription":"Internal Error Occurred"}]}

    18/06/2018 22:02:43 Error Error calling GetTravelBoundaryByTime: {"errors":[{"errorCode":"PB-APIM-ERR-1000","errorDescription":"Internal Error Occurred"}]}

    18/06/2018 22:02:43 Error One or more errors occurred.



  • 2.  RE: Any idea what the issue is with my routing API task?

    Posted 06-19-2018 03:46

    I successfully ran the job with smaller drive times for all 50 sites but had problems once I started looking at 10, 20 & 30 minute drive times. I have tried it again without Salisbury and received an error on another site (Swindon). It would be helpful to work out what the error actually is in order to work out what is happening but I think perhaps only PB have the logs required to work that out as this seems to be a generic server error to me.



  • 3.  RE: Any idea what the issue is with my routing API task?

    Posted 06-19-2018 03:48

    I just ran it for Salisbury by itself and it worked fine, perhaps there is a limit which I have exceeded?



  • 4.  RE: Any idea what the issue is with my routing API task?

    Posted 06-19-2018 04:14

    I eventually achieved the whole job by breaking it down into bits but on the last one I had to run it split into three jobs, 10 then 20 then 30.



  • 5.  RE: Any idea what the issue is with my routing API task?

    Employee
    Posted 06-26-2018 23:37

    @Paul Wittle? We are looking into this issue.

    @Priyanshu Dubey?  will update you soon.



  • 6.  RE: Any idea what the issue is with my routing API task?

    Posted 06-27-2018 05:29

    @Paul Wittle? We are looking into the issue and will keep you updated.

    Meanwhile, for immediate resolution of this particular scenario, please try following if your intended travel zone settings allow this -

    1. Try reducing ‘MaxOffRoadDistance’ (or simplificationFactor) in request.
    2. Use 'encompassing' option as bandingStyle in case that is acceptable as output.


  • 7.  RE: Any idea what the issue is with my routing API task?

    Posted 06-27-2018 06:04

    Hi @Priyanshu Dubey? 

    Just to confirm, I have already completed the job by splitting it into many tasks. I created this post primarily incase it was a bug for PB to fix. I'm aware that this is relatively new functionality so I thought it best to report the issue.

    That said, you don't really need to let me know the progress as I've completed that job anyway.

    Many thanks,

    Paul



  • 8.  RE: Any idea what the issue is with my routing API task?

    Posted 06-27-2018 06:12

    Sure @Paul Wittle? , thanks for reporting. Yes it is a bug for us to fix.



  • 9.  RE: Any idea what the issue is with my routing API task?

    Posted 08-21-2023 05:46
    Edited by Wolfgang Studer 08-22-2023 00:35

    Unfortunately, now in 2023 with MapInfo Version 2021.1 and a reduced driving time range of 5, 10 and 15 minutes, the same error still occur.

    It randomly stopp on an item of a list with error above. When stopped, it is hard to get the rest done.

    And the item doing the stop can easily created on it's own, but fail inside the list.





  • 10.  RE: Any idea what the issue is with my routing API task?

    Posted 08-22-2023 01:01
    Edited by Wolfgang Studer 08-22-2023 01:04

    Btw., ever tried to append multiple single items one by one to a already existing output table ?

    I fear the programmer never did ....

    • Start Mapinfo
    • Open drivetime regions
    • Open table with the missing items as a map
    • select 1 (and only one because when selecting more it fail with error shown above)
    • In drivetime regions use "Selection" as input object
    • Open file selection box to choose existing table as output table, 
    • Use Append as mode
    • Select your requested region name and also complete the other parameters
    • Process

    • Close the map which opens with the output table
    • close query created
    • Open table with the missing items as a map
    • do new selection
    • In drivetime regions use "Selection" as input object
    • Open file selection box to choose existing table as output table, 
    • Use Append as mode
    • Process

    • Close the map which opens with the output table
    • close query created
    • Open table with the missing items as a map
    • do new selection
    • .....

    What a nightmare of useless repetitive tasks to do on each single item to append ... :-(





  • 11.  RE: Any idea what the issue is with my routing API task?

    Employee
    Posted 08-22-2023 01:55

    Hi Wolfgang,

    Sorry about the trouble you are going through.

    It really wasn't the intention that you would need to create the drive time regions one at a time.

    Can you try increasing the "off-road travel limit" from 0.1 to say 0.5?

    That has helped other customers

    If it still fails, please reach out to our support team at support@precisely.com

    Thanks



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 12.  RE: Any idea what the issue is with my routing API task?

    Posted 08-22-2023 02:03
    Edited by Wolfgang Studer 08-22-2023 02:03

    Ok, that helped. Thanks a lot

    Should this than not be the default ?