@QueryParam( "lon2" ) double lon2, @QueryParam( "time" ) double time )
{
if ( lat1 == 0 || lat1 == 0 || lon1 == 0 || lon2 == 0 || time==0 )
return Response.serverError().entity( "params cannot be blank" ).build();
tx = database.graph.beginTx();
DirectionsList directionsList =null;
try
{
WeightedPath path = threeLayeredTraverserShortestPath.findShortestPath( lat1, lon1, lat2, lon2, time );
if ( path != null )
{