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

  • Can you tell, if PostgreSQL returns an error and which error it is? – dkastl Jun 23 '18 at 3:28
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.

| improve this answer | |
  • I am solved that ServerVector problem. – Pankaj Deshmukh Jun 25 '18 at 6:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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