Hi Nadeem,

Using the api sounds like a good approach for looking at data in a
particular region.

If you are using PostGIS to query data I would look into PGRouting, at the
very least to get some ideas.

http://pgrouting.org/

Here is documentation on converting api xml to a format that is useful for
routing.

http://workshop.pgrouting.org/chapters/osm2pgrouting.html

Cheers,
Travis








On Sun, Jul 28, 2013 at 8:24 AM, Nadeem Anjum <[email protected]>wrote:

> Additionally, I have downloaded to osm data and am using PostGIS to query
> it.
>
> Thanks,
> Nadeem
>
>
> On Sun, Jul 28, 2013 at 12:52 PM, Nadeem Anjum <[email protected]>wrote:
>
>> Hi Travis,
>>
>> Great to know that you have worked with openstreetmap. I am currently
>> retrieving data in xml format from openstreetmap api for a particular
>> region, and am examining nodes on ways. If a node lies on two ways, that
>> node is the intersection point of the ways.
>>
>> Let me know of the utility you mentioned or any other suggestions for
>> sure!
>>
>> Thanks,
>> Nadeem.
>>
>>
>> On Sun, Jul 28, 2013 at 12:54 AM, Travis L Pinney <
>> [email protected]> wrote:
>>
>>> Awesome Nadeem. How are you going to go about converting openstreetmap
>>> data? I have done some work with openstreetmap and I might be able to
>>> help,
>>> at least in pointing you a good utility.
>>>
>>> Thanks,
>>> Travis
>>>
>>>
>>>
>>> On Sat, Jul 27, 2013 at 2:46 PM, Nadeem Anjum <[email protected]
>>> >wrote:
>>>
>>> > Hi All,
>>> >
>>> > I am working on simulating random agent moves on the map => The agent
>>> moves
>>> > along a road and tosses a coin at each intersection to decide the
>>> direction
>>> > to proceed to. When the time runs out, the agent moves towards the
>>> > destination.
>>> >
>>> > This requires me to have the data for road intersection, along a given
>>> > road. I could not find this data readily available nor any api which
>>> can
>>> > provide me this data.
>>> >
>>> > So I m writing the code from scratch for finding road intersections
>>> from
>>> > scratch using openstreetmap road data.
>>> >
>>> > Once I have the road intersection data, it will be fairly simple to
>>> > simulate random agent movement.
>>> >
>>> > Thanks,
>>> > Nadeem
>>> >
>>>
>>
>>
>

Reply via email to