3

Objective : To know shortest path between two points.

Background : Created sample data ,converted into table in PostgreSQL ,in addition created topology,routing using pg routing extension. Data is created in proper format

Now trying to display data in OL3 but getting an error "source not found". Tried to check error on internet but not getting exact result.

For reference used this link

Software used : Tomcat 8.0 ,PostgreSQL 9.6/PostGIS, Pgrouting 2.6 on Ubuntu 18.04

Please check attached screenshot for details enter image description hereenter image description here Code is available on this link

1
  • Can you tell, if PostgreSQL returns an error and which error it is?
    – dkastl
    Commented Jun 23, 2018 at 3:28

1 Answer 1

1

If you just download the code from app.js, it can only fails. The code is using deprecated API e.g ServerVector whereas the Boundless SDK is more up to date. See this related post to, at least, fix the issue for ServerVector in the JavaScript code.

1
  • I am solved that ServerVector problem. Commented Jun 25, 2018 at 6:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.