You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- Thanks allot for your time. I have updated my question after following these steps.Amir– Amir2016-11-28 16:21:32 +00:00Commented Nov 28, 2016 at 16:21
- no problem, and I think in the join ... on clause should be id1, but not sure right now cause I have no place to check it... I'll check laterJendrusk– Jendrusk2016-11-28 16:40:37 +00:00Commented Nov 28, 2016 at 16:40
- Thanks. Now pgr_dijkstra() returns an empty table. I have updated it in the question. I am looking into this function and trying to figure out where I am getting it wrong. Thanks for your assistance :)Amir– Amir2016-11-28 16:54:19 +00:00Commented Nov 28, 2016 at 16:54
- I found the problem. Now the boundingbox that I was selecting was not big enough, that is why I was getting an empty table. I am updating now the correct query in the question. Thanks allot for your help. I will be selecting your answer as you helped me find the projection issue. Thanks :)Amir– Amir2016-11-28 17:04:19 +00:00Commented Nov 28, 2016 at 17:04
- 16ms is a good time... maybe too good - check if it's not returning from cache (restart postgres and check time of first run). Time of run also depends of numer of edges routing have to search in so it will significally grow for longer paths. 600km could take few seconds so I'm running different querries on different datasets for different eucledian distances and route types (quickest-shortest)... But that's story for another Q&A I think.Jendrusk– Jendrusk2016-11-28 22:43:46 +00:00Commented Nov 28, 2016 at 22:43
| Show 3 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. arcgis-desktop), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-sql