[OpenLayers-Users] Re: displaying PL/pgSQL shortest path function using openlayer

sushma pokharelsush at yahoo.com
Sun Aug 21 13:59:58 EDT 2011


Hi guys,
Below is my query result after calling the function written in pl/pgsql
language. I wanted to display this 
result as a layer on the map using openlayer. As i am very new to json can u
guys plz suggest me i could i format this in json





testdb=# select road(1375,59);
             road
-------------------------------
 (12348,8059,249.737504252945)
 (12654,8286,219.425248073402)
 (12992,8613,123.671322795878)
 (13192,8699,55.2201869018148)
 (13433,8734,106.426985819356)
 (433,-1,0)
(6 rows)

Regards,

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/displaying-PL-pgSQL-shortest-path-function-using-openlayer-tp6696133p6709057.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list