I am using openstreet maps OSM as the background for my projects and I<br>am doing pgrouting to find the best route. it works fine.my database for<br>routing is inside the postgresql .<br>now I have added a field in my table in postgresql , this field is the<br>
status of the streets , I mean some records of this field are CLOSE and<br>the rest are OPEN.<br>I want to show the CLOSE records from the Status field in the browser<br>with Geojson format. for sure I have to do a query like , select * from<br>
mytable WHERE status='CLOSE;<br>I use php for server side dealing . my database projection is in<br>geographic 4326 and the OSM streets in the browser is in mercator<br>900913.<br>how can I display the result of the query as a line vector layer in the<br>
browser ?<br>I know that I have ti cerate a layer in openlayer and write php codes to<br>do the query , but it doesnt work. who can help me in more details or<br>show an example exception pgrouting workshop 2010.<br>sinecerly<br>
<br>